How to see SOAP data my client application sends?

后端 未结 5 1979
没有蜡笔的小新
没有蜡笔的小新 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: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"):

提交回复
热议问题