[jbossws-issues] [JBoss JIRA] (JBWS-3534) JBossWS CXF ignoring wsdlLocation attribute in @WebService annotation

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Fri Aug 24 09:49:15 EDT 2012


     [ https://issues.jboss.org/browse/JBWS-3534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3534:
----------------------------------

    Priority: Major  (was: Critical)


I strongly believe this is not a bug as it would affect the JavaEE 6 compliance. The mentioned log entry is about wsdlLocation overrides from deployment descriptor, I solved a jira recently about rewriting that log message to avoid confusion / misunderstandings.
The @WebService(wsdlLocation=...) annotation is processed internally by Apache CXF. Please provide a testcase or sample application for reproducing this issue, or I'll close it.
Thanks
                
> JBossWS CXF ignoring wsdlLocation attribute in @WebService annotation
> ---------------------------------------------------------------------
>
>                 Key: JBWS-3534
>                 URL: https://issues.jboss.org/browse/JBWS-3534
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-4.0.2
>         Environment: All, JBoss AS 7.1
>            Reporter: emollient mind
>
> when wsdlLocation attribute is specified on the @WebService annotation the service fails to deploy. log shows wsdlLocation=null.
> source of Bug 
> class Name :  org.jboss.wsf.stack.cxf.metadata.MetadataBuilder
> Method name : protected DDEndpoint createDDEndpoint(Class<?> sepClass,  
>                         ArchiveDeployment dep, Endpoint ep)
> code :
>  // the attribute wsdlLocation is ignored at the time of annotation   
>     processing of @WebService
>  DDEndpoint result = new DDEndpoint();
>       
>       result.setId(ep.getShortName());
>       result.setAddress(ep.getAddress());
>       result.setImplementor(ep.getTargetBeanName());
>       result.setMtomEnabled(isMtomEnabled(ep.getTargetBeanClass()));
>       result.setEpClass(seiClass != null ? seiClass : sepClass);
>       result.setPortName(new QName(serviceNS, portName));
>       result.setServiceName(new QName(serviceNS, serviceName));
>       Map<String, Object> props = new HashMap<String, Object>();
>       for (String k : ep.getProperties()) {
>          props.put(k, ep.getProperty(k));
>       }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list