Here's what I did to run tcpmon:
Using tcpmon:
This is how I started it:
c:\j2sdk1.4.2_06\bin\java.exe -classpath c:\axis.jar org.apache.axis.utils.tcpmon
The listener port is any port tcpmon can listen at.
The target port is where tcpmon forwards requests, in case of
JBoss running
on 8080, it will be 8080 and the target machine will be 127.0.0.1.
For web services clients taking the wsdl from localhost:8080, we can make them
take the wsdl from the file system and change the address in the wsdl:
...<soap:address location="http://NY731-4W-324a:10000/sidcomtest-ejb/SidStringPort"/></port></service></definitions>
This will make the client send requests to port 10000 (or whatever port tcpmon
is listening to)
Note that tcpmon for throwing an NPE with jdk 1.5.0_02.
Hope this helps...
Sid.