I have web application with embed jax-ws web service (the ws servlet is just added to web.xml).
The machine is behind proxy. So you hit the proxy and it should forward to that machine.
Now, if I hit localhost (within that machine) ...?wsdl I get the wsdl. Also if I hit the ip address of this machine...?wsdl I get the wsdl. If I hit the proxy...?wsdl I get 404 on the browser. If I hit the proxy but some other non web service servlet I get there successfully.
Why is this happening? Why can't I get to the web service?
Joined: Aug 19, 2005
John Landon wrote:If I hit the proxy but some other non web service servlet I get there successfully.
Based on your description I would suspect the firewall configuration. You have to ask yourself "what is the difference between successful and failed accesses?"
The first difference from your description is the use of the query parameter (?wsdl). Though a more likely candidate is the "Content-type" of the request/response bodies - maybe the firewall blocks SOAP/XML content. And of course the obvious one: maybe the firewall doesn't allow full access to the server, i.e. access to the endpoint URI still has to be enabled.