Capture SOAP Envelope (C# WinForm calling .ASMX external vendor service)

Posted by NealWalters on Stack Overflow See other posts from Stack Overflow or by NealWalters
Published on 2010-04-01T17:54:44Z Indexed on 2010/04/01 18:43 UTC
Read the original article Hit count: 826

Filed under:
|
|

I'm calling a third-party vendor's external SSL web service from a .NET 3.5 client (WinForm). The vendor has asked me to send them the Soap Header to verify why things aren't working.

I used WireShark to capture packets, but since the web service is SSL, the packets are encrypted.

Is there a few magic lines of code to add to my C# client to save or display the Soap Envelope either right before I call their web/method or right after?

© Stack Overflow or respective owner

Related posts about c#

Related posts about webservice