• Post Reply Bookmark Topic Watch Topic
  • New Topic

unable to run tcpmon  RSS feed

 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I usually connect to internet using a proxy and port since I am behind a corporate firewall.

I am trying to write a web service consumer using and trying to connect to a some third party web service provider
whose wsdl url is http://<some ip>/servicingWS/Reallocate.asmx

Now how do I configure the axis tool tcpmon so that I can see the soap request and soap response since when I run the web service client program I am getting an error from the server"faultString: (504)Gateway Time-out"
Is below configuration of tcpmon tool based on above data correct ?

Listen Port#: 80
Act as : Proxy
Options: HTTP Proxy Options, Hostname and Port#
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried using TCPTrace instaed of TCPmonintor ??
http://www.pocketsoap.com/tcptrace/
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Balaji,

I tried the tool but I am not seeing any soap messages on the wire ...

Can you please tell me how to configure the tool if I am behind a firewall and I use proxy and port (as told in my previous post) and I am accessing say a remote server ip 10.343.33.333 (say)
 
Mike Finn
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A shot in the dark, but have you tried specifying the proxy on the cmd line you use to start tcpmon?

Something like:
java -Dhttp.proxyHost=your.proxy -Dhttp.proxyPort=yourProxyPort org.apache.axis.utils.tcpmon 80 http://<some ip> 80

Mike
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mike,

I have tried all the options and I get a status message "Waiting for Connection" for a prolonged time ....
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!