Forum Stats

  • 3,827,899 Users
  • 2,260,838 Discussions
  • 7,897,402 Comments

Discussions

Web Services in an EAR Deployment

harshad
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 ...oraclecloudapps.com/WebService1/WebService1?wsdl but is instead found at ...oraclecloudapps.com/WebService1?wsdl

Also the schemaLocation link within the WSDL is generated incorrectly. It appears as ....oraclecloudapps.com:443/WebService1/WebService1?xsd=1 but is instead found at oraclecloudapps.com:443/WebService1?xsd=1

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.

Thanks

Harshad

Answers

This discussion has been closed.