WSDL generation changes in JBossWS from EAP 5.1.2 and EAP 5.2.0
Issue
- We are deploying a couple of web service endpoints.
The beans basically look like this:
@WebService(name = "broken",
portName = "BrokenPort",
serviceName = "BrokenService",
targetNamespace = "http://gss.redhat.com/brokenws")
public class BrokenWSA extends WSBase {
}
@WebService(name = "broken",
portName = "BrokenPort",
serviceName = "BrokenService",
targetNamespace = "http://gss.redhat.com/brokenws")
public class BrokenWSB extends WSBaseExt {
}
Note that the name, portName, serviceName, and targetNamespace attributes on the @WebService annotation are the same for both web services. The beans are in the same package as are their base classes.
With EAP 5.1.2 different WSDL was generated for the two web services. With EAP 5.2.0 the WSDLs are identical. It looks like the server always returns the WSDL for CfdTradingPlatformABC.
Is there a way to make EAP 5.2.0 behave like EAP 5.1.2 did? If not, is there a work-around which does not involve changing the serviceName attribute on the WebService annotation?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.1.2
- 5.2.0
- JBossWS-Native
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
