We are facing a problem while accessing web service on App server(Websphere 6) through a web server(Apache/2.0.47). Web service is deployed correctly and wsdl is accessible through the browser. When trying to invoke the web service we get 404 not found error.
The same web service is accessible if directly invoked from the application server, without going through the web server.
Was wondeing if any one has faced such issue previously. Any input would be of great help and appreciated.
Th response soap message from tcpmon was HTTP/1.1 404 Not Found Date: Thu, 04 May 2006 17:10:28 GMT Server: IBM_HTTP_Server/22.214.171.124 Apache/2.0.47 (Unix) Content-Length: 339 Connection: close Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /SLKServices/services/LicenseRequest was not found on this server.</p> <hr /> <address>IBM_HTTP_Server/126.96.36.199 Apache/2.0.47 (Unix) Server at 192.168.126.95 Port 3040</address> </body></html>
Could the problem be because of the http version difference?
On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.
As to your question, I'm not sure what you mean by "http version difference" - you seem to have an HTTP 1.1 connection, and it looks like it's working fine. Are you sure you're going against the correct port on the correct machine? What does the section of the WSDL look like that describes the URL?