Forum Stats

  • 3,838,255 Users
  • 2,262,346 Discussions


Web Services in an EAR Deployment

harshad Member Posts: 12
edited Nov 5, 2013 1:26PM in Java Cloud Service

On deploying an EAR that includes a EJB web service JAR, I find that the WSDL url generated on the Web Services page is incorrect. For example for a web service named WebService1, the WSDL link shown on the WebServices page is but is instead found at

Also the schemaLocation link within the WSDL is generated incorrectly. It appears as but is instead found at

This naturally leads to auto generation of web services client failing in NetBeans.

I have encountered this issue only when deploying a web service JAR as part of an EAR. It does not occur if the web service is directly part of a WAR that's being deployed.




This discussion has been closed.