Home > General, Security, Technology, web services > TCP/IP Monitoring for viewing SOAP Envelope

TCP/IP Monitoring for viewing SOAP Envelope


One needs a TCP/IP Monitoring tool to monitor the traffic between client and server.

Requirement

I’ve web services deployed on weblogic server. I wrote a Java client to access one of the services works fine. My requirement is to view the SOAPEnvelope request and response.

Here are the simple steps from dailyraaga to help you configure TCP/IP traffic.

STEP 1: Download axis.jar

Download axis.jar.zip file from http://www.java2s.com/Code/Jar/ABC/Downloadaxisjar.htm

Unzip the file to place it in d:\ (you may place it any where, for this post i just dropped the jar file in d drive)

STEP 2:

Run the java command: D:\>java -cp axis.jar org.apache.axis.utils.tcpmon

This should open TCPMonitor

Since my weblogic is running on localhost on port 7001

Target Hostname: localhost
Target Port: 7001

Give a random Listen Port

Listen Port: 1234

Click on ‘Add’ now

You should see a new tab Port 1234

STEP 3:

In your Java web service client code, add following statements.


System.setProperty("http.proxyHost", "localhost");
 System.setProperty("http.proxyPort", "1234");
 System.setProperty("weblogic.webservice.transport.http.proxy.host", "localhost");
 System.setProperty("weblogic.webservice.transport.http.proxy.port", "7001");

STEP 4:

Now run the java client to see the soap request/response

That’s it!

Advertisements
  1. Sara Bradfrod
    June 29, 2011 at 10:26 AM

    Thanks for such information. I hope this will help us a lot in eliminating our network problems.
    I also came across a complete web monitoring solution provider – Monitor Scout which helps in maintaining server/website monitoring regularly. http://www.monitorscout.com
    please follow this link to sign up for free trial.

    Like

  2. March 11, 2013 at 4:38 PM

    Hi there, all the time i used to check weblog posts
    here in the early hours in the dawn, because i like to gain knowledge of more and more.

    Like

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: