Deployment fails to call Web Service in the same JBoss instance at deployment time in JBoss EAP 6
Issue
-
Deployment fails to call Web Service in the same JBoss instance at deployment time in JBoss EAP 6. We have a deployment which calls our JAXWS Web Service at startup. It is is getting a 404 trying to access the URL, yet we can use SOAPUI or wget and are able to connect to the web service.
java.io.FileNotFoundException: http://localhost:8080/ExampleWebService/ExampleWebService?wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1457) at java.net.URL.openStream(URL.java:1010) at com.jboss.examples.ejb3.ClientService.init(ClientService.java:24)... followed later by ...
INFO [org.jboss.web] (ServerService Thread Pool -- 56) JBAS018210: Register web context: /ExampleWebService
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.