Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jax-Ws and proxi on Tomcat  RSS feed

 
John Landon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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?

Thanks,
John
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
John Landon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
firewall is good
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!