Failed to deploy service with multiple bindings
-----------------------------------------------
Key: JBWS-2329
URL:
https://jira.jboss.org/jira/browse/JBWS-2329
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-metro
Affects Versions: jbossws-metro-3.0.3
Reporter: Alessio Soldano
When deploying an archive containing two endpoint corresponding to two wsdl binding of the
same wsdl service, we get this exception:
javax.xml.ws.WebServiceException: Not a primary
WSDL=file:/home/alessio/dati/jboss-4.2-src/build/output/jboss-4.2.4.GA/server/default/tmp/deploy/tmp50323jaxws-jbws2278-exp.war/WEB-INF/wsdl/Test.wsdl
since it doesn't have Service
{http://org.jboss.test.ws/jbws2278}TestEndpointImplSoap12Service
at
com.sun.xml.ws.server.EndpointFactory.verifyPrimaryWSDL(EndpointFactory.java:455)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:155)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467)
at
org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.parseAdapters(DeploymentDescriptorParserExt.java:301)
at
org.jboss.wsf.stack.metro.DeploymentDescriptorParserExt.parse(DeploymentDescriptorParserExt.java:178)
at
org.jboss.wsf.stack.metro.metadata.RuntimeModelDeploymentAspect.start(RuntimeModelDeploymentAspect.java:110)
... 66 more
See the testcase for JBWS-2278.
This could be related to a missing configuration in the generate sun-jaxws.xml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira