Saturday, May 17, 2014

Monitoring SOAP messages using TCPMon


How to Monitor SOAP messages using TCPMon

Let's assume you want to monitor the request and response SOAP message which are passing in the the
http://amalkas.blogspot.com/2014/05/apache-axis2-hello-world.html


http://www.mkyong.com/tomcat/how-to-change-tomcat-default-port/






































Step 6: Monitoring the messages

To view the request and response SOAP messages we can use the tcpmon tool. We can start the SimpleHTTPServer on port 9090 and make the tcpmon listen on port 8080 and forward the requests to port 9090. Using "-p9090" as an additional argument in starting the SimpleHTTPServer we can start it on port 9090. Example:
sh http-server.sh /path/to/my-axis2-repo -p9090
Now when we run the client once again we can view the messages.

No comments: