• Post Reply Bookmark Topic Watch Topic
  • New Topic

Consuming Services outside the firewall  RSS feed

 
vb reddy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am using apache axis beat3 and tomcat 4.0x.
whenever I execute axis client(Java appln) to access web services outside the firewall(http://nagoya.apache.org:5049/axis/servlet/AxisServlet), I get the folowing exception. I see here typical proxy problem. I am getting this problem repeatedly, inspite of the jvm properties I jave set while running the client (-DproxySet=true -DproxyHost=xxx.com -DproxyPort=80). As I see the network trace, I am not getting any acknowledgement from http://nagoya.apache.org. But with same proxy settings I am able to acees the above AxisServlet through browser. I am able to access web servies deployed on another tomcat machine in my network. Typically, it seems like the my request is not going through the proxy I have specified. I am using sun jdk 1.4.0_01. Please clarify me, if I am missing out any known issues here ..
Thanks
Venu
Exception follows:
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.net.ConnectException: Connection timed out: connect
faultActor: null
faultDetail:
stackTrace: java.net.ConnectException: Connection timed out: connect
 
vb reddy
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nevermind, it did work for me..
First of all the target endpoint URL has changed(wrong url given in axis beta 3)to "http://nagoya.apache.org:5049/axis/services/echo" . That didn't solve my problem. Changing http proxy settings to the virtual machine as follows solved the problem.
java -Dhttp.proxyHost=xxx.com -Dhttp.proxyPort=80
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!