Roee Gavirel
Roee Gavirel

Reputation: 19443

how to capture SOAP request from client side?

I have a C# client application that works with a web service using SOAP request. I've generate the requests C# code from the services web address using VS05 WSDL. I want the client in case of an error to print to a log file the SOAP request and response.
It's need to be done in run time.

how can it be done?

Upvotes: 2

Views: 4344

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1038890

You might check the following blog post for an example of writing a custom SoapExtension that will allow you to achieve this.

Upvotes: 3

Related Questions