I recently needed to confirm the request values that were being generated by a webservice client that I just developed.
I had to find a tool to intercept the request being submitted.
I came across this awesome, easy to use tool which I used to grab the xml request that was being submitted to a web service.
tcpTrace (http://www.tcptrace.org/).
Install tcpTrace.exe and configure the port and server as follows:
Listen on Port# : 81
Destination Server : <your server>
Destination Port : <your destination servers port>
<soap:address location=”http://localhost:81/<rest of the url>“/>
In your wsdl replace the server and port with the tcpTrace localhost address (ie.localhost:81).
Run your program, and tcpTrace will output the xml request.
This is ideal for webservices that don’t return the actual request.
