-
1. Re: javax.servlet.ServletException: JBWS024029: Cannot obtain destination
asoldano Aug 12, 2014 5:53 AM (in response to jbossws123)Few hints / considerations:
- if you don't actually need the jbossws-cxf integration with spring, avoid using the jbossws-cxf.xml descriptor
- if that's not the case, fix the address property in jaxws:endpoint; I assume your deployment is called CFXProject.war, so the address attribute there should most likely be "/CFXProject/HelloService"
- in any case, you can't expect anything special from a HTTP GET to http://localhost:8080/CFXProject/HelloService , either get http://localhost:8080/CFXProject/HelloService?wsdl or issue a SOAP message (HTTP POST) to http://localhost:8080/CFXProject/HelloService
- just in case, be aware that there's a bug affecting error reporting there, so you might get NCDFE after you fix the jaxws:endpoint address if you still send (invalid) http get requests to http://localhost:8080/CFXProject/HelloService , see Bug 1033209 – Missing javax.servlet.api dependency in org.jboss.ws.jaxws-client AS module