Pages

Monday, March 26, 2007

using tcpmon with axis2 webservices and tomcat

Using tcpMon utility with web services is very easy. Download the jar file from h**p://ws.apache.org/commons/tcpmon/download.cgi. Extract it. Run the tcpmon.bat. This will launch the tcpmon UI. Give the host name (localhost) and the target port# (8080). Give the listener port# to 8081 and say add. This will create a new tab. On this tab, there are two text frames. The top one shows the request, and the bottom one shows the response.
In the client, use the target end point uri with port 8081 instead of 8080(my tomcat server listens to this). This will allow you to see the request and response messages in this small and powerful utility. There is more to this tool, which you can read from the user guide.

1 comment: