[jboss-jira] [JBoss JIRA] (AS7-3106) @WebServiceProvider annotation is not processed when implementation class loaded from dependant module

Peter Skopek (Created) (JIRA) jira-events at lists.jboss.org
Tue Dec 20 11:35:09 EST 2011


@WebServiceProvider annotation is not processed when implementation class loaded from dependant module
------------------------------------------------------------------------------------------------------

                 Key: AS7-3106
                 URL: https://issues.jboss.org/browse/AS7-3106
             Project: Application Server 7
          Issue Type: Bug
          Components: Web Services
    Affects Versions: 7.1.0.Beta1b
            Reporter: Peter Skopek
            Assignee: Alessio Soldano
             Fix For: 7.1.0.CR1


When deploying picketlink-sts.war with dependent module org.picketlink specified in META-INF/jboss-deployment-structure.xml which contains class referred to as servlet (in web.xml) annotated with @WebServiceProvider it is deployed as servlet and not as webservice.

If I copy the class file to war to WEB-INF/classes it works as expected.

See two attached .war files.

Only correct one creates following log entries:
{noformat}
17:30:33,595 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] (MSC service thread 1-5) Add Service
 id=PicketLinkSTS
 address=http://localhost:8080/picketlink-sts-correct
 implementor=org.picketlink.identity.federation.core.wstrust.PicketLinkSTS
 invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker
 serviceName={urn:picketlink:identity-federation:sts}PicketLinkSTS
 portName={urn:picketlink:identity-federation:sts}PicketLinkSTSPort
 wsdlLocation=null
 mtomEnabled=false
17:30:33,597 INFO  [org.jboss.ws.common.management.DefaultEndpointRegistry] (MSC service thread 1-5) register: jboss.ws:context=picketlink-sts-correct,endpoint=PicketLinkSTS
17:30:33,859 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-5) Creating Service {urn:picketlink:identity-federation:sts}PicketLinkSTS from WSDL: WEB-INF/wsdl/PicketLinkSTS.wsdl
17:30:34,070 INFO  [org.jboss.wsf.stack.cxf.transport.AddressRewritingEndpointInfo] (MSC service thread 1-5) Setting new service endpoint address in wsdl: http://localhost:8080/picketlink-sts/PicketLinkSTS
17:30:34,132 INFO  [org.jboss.wsf.stack.cxf.transport.AddressRewritingEndpointInfo] (MSC service thread 1-5) Setting new service endpoint address in wsdl: http://localhost:8080/picketlink-sts-correct
17:30:34,179 INFO  [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-5) Setting the server's publish address to be http://localhost:8080/picketlink-sts-correct
{noformat}
  


--
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 jboss-jira mailing list