C# How to get soap XML from service reference (wsdl import)?
<p>I was given a wsdl file, I added it as a Service Reference in visual studio.</p>

<p>I can now create a new service client, then do the soap actions no problem.</p>

<p>However in C#, I need to just grab the soap request XML that it produces to do the action and store it in a variable, and not actually send it to the web service.</p>

<p>Is this possible to do? I tried just serializing the class to xml, but the result is a bit different from the expected soap request xml.</p>