How do I get the XML SOAP request of an WCF Web service request?

后端 未结 7 655
太阳男子
太阳男子 2020-12-07 08:28

I\'m calling this web service within code and I would like to see the XML, but I can\'t find a property that exposes it.

7条回答
  •  难免孤独
    2020-12-07 09:12

    Option 1

    Use message tracing/logging.

    Have a look here and here.


    Option 2

    You can always use Fiddler to see the HTTP requests and response.


    Option 3

    Use System.Net tracing.

提交回复
热议问题