cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessio Soldano (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-5197) No Java extensionType found to represent {http://www.w3.org/2006/05/addressing/wsdl}UsingAddressing
Date Mon, 12 Aug 2013 13:58:50 GMT
Alessio Soldano created CXF-5197:
------------------------------------

             Summary: No Java extensionType found to represent {http://www.w3.org/2006/05/addressing/wsdl}UsingAddressing
                 Key: CXF-5197
                 URL: https://issues.apache.org/jira/browse/CXF-5197
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
            Reporter: Alessio Soldano


Using latest 2.7.7-SNAPSHOT version, I noticed a regression in JBossWS-CXF integration testsuite
since commit 1510980.
I've a java first endpoint as follows:
{code}
@WebService
(
   portName = "AddressingServicePort",
   serviceName = "AddressingService",
   targetNamespace = "http://www.jboss.org/jbossws/ws-extensions/wsaddressing",
   endpointInterface = "org.jboss.test.ws.jaxws.samples.wsa.ServiceIface"
)
@Addressing(enabled=true, required=true)
public class ServiceImpl implements ServiceIface
{
   ...
}
{code}

during deployment I get the following error in the logs:
{noformat}
11:36:51,504 ERROR [stderr] (MSC service thread 1-7) javax.wsdl.WSDLException: WSDLException:
faultCode=CONFIGURATION_ERROR: No Java extensionType found to represent a '{http://www.w3.org/2006/05/addressing/wsdl}UsingAddressing'
element in the context of a 'javax.wsdl.Binding'.
11:36:51,504 ERROR [stderr] (MSC service thread 1-7) 	at javax.wsdl.extensions.ExtensionRegistry.createExtension(ExtensionRegistry.java:350)
11:36:51,504 ERROR [stderr] (MSC service thread 1-7) 	at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.buildWsdlExtensibilities(JaxWsEndpointImpl.java:337)
11:36:51,505 ERROR [stderr] (MSC service thread 1-7) 	at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.<init>(JaxWsEndpointImpl.java:203)
11:36:51,505 ERROR [stderr] (MSC service thread 1-7) 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createEndpoint(JaxWsServiceFactoryBean.java:239)
11:36:51,505 ERROR [stderr] (MSC service thread 1-7) 	at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:173)
11:36:51,505 ERROR [stderr] (MSC service thread 1-7) 	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:159)
11:36:51,505 ERROR [stderr] (MSC service thread 1-7) 	at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:211)
11:36:51,505 ERROR [stderr] (MSC service thread 1-7) 	at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:454)
11:36:51,506 ERROR [stderr] (MSC service thread 1-7) 	at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:334)
11:36:51,506 ERROR [stderr] (MSC service thread 1-7) 	at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:66)
11:36:51,506 ERROR [stderr] (MSC service thread 1-7) 	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)
11:36:51,506 ERROR [stderr] (MSC service thread 1-7) 	at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:537)
11:36:51,506 ERROR [stderr] (MSC service thread 1-7) 	at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:117)
11:36:51,506 ERROR [stderr] (MSC service thread 1-7) 	at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:129)
11:36:51,507 ERROR [stderr] (MSC service thread 1-7) 	at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:67)
11:36:51,507 ERROR [stderr] (MSC service thread 1-7) 	at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:75)
11:36:51,507 ERROR [stderr] (MSC service thread 1-7) 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
11:36:51,507 ERROR [stderr] (MSC service thread 1-7) 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1944)
11:36:51,507 ERROR [stderr] (MSC service thread 1-7) 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1877)
11:36:51,508 ERROR [stderr] (MSC service thread 1-7) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
11:36:51,508 ERROR [stderr] (MSC service thread 1-7) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
11:36:51,508 ERROR [stderr] (MSC service thread 1-7) 	at java.lang.Thread.run(Thread.java:722)
{noformat}

and the generated wsdl for the endpoint has no UsingAddressing / ws-addressing policy.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message