File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes unable to run tcpmon Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "unable to run tcpmon" Watch "unable to run tcpmon" New topic
Author

unable to run tcpmon

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
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#


RR Kumaran
SCJP 1.4
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Have you tried using TCPTrace instaed of TCPmonintor ??
http://www.pocketsoap.com/tcptrace/


Spritle Software Blogs
Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
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

Joined: May 19, 2004
Posts: 6
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

Joined: Sep 17, 2001
Posts: 548
Hi Mike,

I have tried all the options and I get a status message "Waiting for Connection" for a prolonged time ....
 
 
subject: unable to run tcpmon
 
Threads others viewed
How to get SOAP request XML for a web service call
Trying to Develop Web Services Client.
unable to tcpmon a web service consumer
Unable to tcpmon remote web services
problem with Tcpmon: javax/xml/soap/SOAPException
developer file tools