I have a web service that I am attempting to call as a client. When calling it from my client class, I keep getting a 404 and can't seem to figure out why the client cannot find the service.
The url of the wsdl is correct in the client class http://207.153.234.217:8081/ode/deployment/bundles/DGIngestConcept-15/processes/DGIngestConcept.15/processes.ode/processes/Arrival-Process.wsdl The wsdl is viewable in a browser, and the call works if I use the wsdl in SoapUi. In the tomcat log I see: Jul 11, 2012 12:36:46 PM org.apache.cxf.service.factory.ReflectionServiceFactory Bean buildServiceFromWSDL INFO: Creating Service {http://dg.ingest.com/Arrival/processes/Arrival/Process}C anonicServiceForWS from WSDL: http://10.18.31.25:8081/ode/deployment/bundles/DGI ngestConcept-15/processes/DGIngestConcept.15/processes.ode/processes/Arrival-Pro cess.wsdl Which looks fine to me. And then: WARNING: Interceptor for {http://dg.ingest.com/Arrival/processes/Arrival/Process }CanonicServiceForWS#{http://dg.ingest.com/Arrival/processes/Arrival/Process}Rec eive_Reply has thrown exception, unwinding now org.apache.cxf.interceptor.Fault: Could not send Message. at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndi ngInterceptor.handleMessage(MessageSenderInterceptor.java:64) Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with http://localhost:8081/ode/processes/DGIngestConce pt/processes/Arrival/Process/WS I see in the Caused by that it's using localhost instead of the ip address of the server running the service. I don't see in any code or configuration of the client where I'm setting anything related to the service to localhost, only to the ip address of the server I must be missing something, but not sure where to look at this point. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/404-from-web-service-client-tp5710925.html Sent from the cxf-user mailing list archive at Nabble.com.
