[jboss-user] [JBossWS] - deploy two web services (jsr-181) in same war file
do-not-reply at jboss.com
Tue Oct 31 04:22:00 EST 2006
I have created two web services using jsr-181 spec. Each web service has its own name,targetNamespace and serviceName. Each web service exists on a different class and both are deployed as a web application.
@WebService(name = "MyService1", targetNamespace = "http://com.mycompany.service1", serviceName = "MyService1")
@WebService(name = "MyService2", targetNamespace = "http://com.mycompany.service2", serviceName = "MyService2")
When I deploy the web application war file the jboss generates the same wsld for both services. It looks like the wsdl of the first web service overides the wsdl of the second.
If I deploy only one of the web services the application works fine and the generated wsdl is correct.
Any help on how to solve this problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981988#3981988
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981988
More information about the jboss-user