How to see SOAP data my client application sends?

后端 未结 5 1929
没有蜡笔的小新
没有蜡笔的小新 2021-01-18 07:00

I have a project where I have created web service proxy classes with wsdl.exe and then simply create an instance of that class (inherits System.Web.Services.Protocols.SoapHt

相关标签:
5条回答
  • 2021-01-18 07:33

    Have a look at SOAPUI from eviware.com.

    Its a free for personal use Java app. Among other things you can set it up to run as a dummy test server. Just load up hte WSDL and enter the dummy data.

    In test server mode it will log your requests so you can see whats happening inside the request message.

    0 讨论(0)
  • 2021-01-18 07:34

    You can intercept the call with tcpMon

    0 讨论(0)
  • 2021-01-18 07:39

    Use fiddler.

    0 讨论(0)
  • 2021-01-18 07:39

    SOAP messages are simply XML data sent using the HTTP POST method. So you can for example install a local web server on your development machine, configure your web service to use some dummy URI on this server, and grab the network traffic with WireShark (AKA ethereal). The big advantage of this method is that it involves no coding.

    Alternatively you can use an HTTP echo server that dumps its incoming traffic, like this one (found while googling "http echo server"):

    0 讨论(0)
  • 2021-01-18 07:41

    If you're Web service is accessed by clear text, non-SSL HTTP, you can just use a sniffer, like Wireshark, to see the data coming from and to your application. Wireshark can trace, filter and analyze wire data. I have used it do debug HTTP and other protocols many times, and it's a great tool to do this.

    0 讨论(0)
提交回复
热议问题