Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to monitor remote web service endpoints

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


I am using AXIS TCPMonitor to monitor my soap requests and soap response for all the web service deployed on my machine i.e. localhost. But I dont know how to configure AXIS TCPMonitor to monitor my request soap messsage and response soap messagefor monitoring say a remote host 66.32.444.232 and port 88 which exposes a web service. If I open my AXIS TCPMonitor applet, what does "Act as a ... proxy" radio button mean ?

Please suggest ...


Thanks & Regards,
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A proxy is a host that's between you and another host, and relays the message as if you'd targeted the remote host.

If you're trying to see your requests and responses to the remote host using TCPMonitor, set it up with 'Act as a listener'. Set the target hostname to the remote IP, the target port to the remote port, set a listener port, and send your SOAP queries to the listener port on your local machine. It should work.

(Taken from Apache's AXIS documentation. And edited to fix a typo in the URL.)

Hope that helps!
[ February 04, 2005: Message edited by: Theodore Casser ]
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Theodore Jonathan Casser- Thank you for the reply. I am tring to send a soap message to say 73.341.263.283 and port 80. Now I have configured below settings in my TCPMonitor :

Listen Port# 9999
Act As a Listener
Target Hostname 73.341.263.283
Target Port# 80
Options
HTTP Proxy Support
Hostname 11.237.236.8
Port# 4128


Now I am getting the output from the server as "(504)Gateway Time-out" and I dont see any soap request and soap response messages in my TCPMonitor ?

If dont use any TCPMonitor then I get a soap request message and soap response message. What am I missing ?



Thanks & Regards,
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try it without the proxy.
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I dont specify any proxy I am getting (403)Forbidden response.
 
Ashutosh Shahi
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are u trying to access a server outside your corporate network? In that case try starting the TCPMON with the parameters: -Dhttp.proxyHost=<ur proxy server> -Dhttp.proxyPort=80 -Dhttp.proxyUser=<user id> -Dhttp.proxyPassword=<password>
Ashutosh
 
Ashutosh Shahi
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did this solution work out? If not, were u able to overcome this problem?
Ashutosh
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
instead of setting proxy conf. before starting TCPMonitor I have set that in the TCPMonitor using proxy checkbox but all it is of no use.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic