[jboss-jira] [JBoss JIRA] Created: (JBMETA-64) Default WebServiceRef name parameter changed

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Fri Jun 20 14:11:47 EDT 2008


Default WebServiceRef name parameter changed
--------------------------------------------

                 Key: JBMETA-64
                 URL: http://jira.jboss.com/jira/browse/JBMETA-64
             Project: JBoss Metadata
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 1.0.0.Beta24
            Reporter: Alessio Soldano
         Assigned To: Alexey Loubyansky
             Fix For: 1.0.0.CR1


While looking at the JBossWS webserviceref regressions (from AS5 Beta4), I found that the way the webserviceref name is set when no name attribute is used changed.
For instance in this case:

package org.jboss.test.ws.jaxws.samples.webserviceref;
...
public class EndpointClientOne
{
   @WebServiceRef
   static EndpointService service4;

   @WebServiceRef
   static void setService6(EndpointService service)
   {
      EndpointClientOne.service6 = service;
   }
   private static EndpointService service6;

   @WebServiceRef(value = EndpointService.class)
   static Endpoint port3;

   @WebServiceRef
   static Endpoint port4;
...
}

we had the following service ref name in AS5 Beta4:
org.jboss.test.ws.jaxws.samples.webserviceref.EndpointClientOne/service4
org.jboss.test.ws.jaxws.samples.webserviceref.EndpointClientOne/service6
org.jboss.test.ws.jaxws.samples.webserviceref.EndpointClientOne/port3
org.jboss.test.ws.jaxws.samples.webserviceref.EndpointClientOne/port4

and we have the following ones in AS5 trunk:
service4
service6
port3
port4

In short the declaring class name was prepended to the name when the @WebServiceRef's name attribute is not used.
Was the naming convention changed on purpose or we can use the same as before? This cause regression because we have the deployment descriptor with the as5beta4 style names and (I guess) when the metadata coming from that are merged with the metadata coming from the annotations... we end up with more refs than what we should have.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list