title: .NET Web Service client. Get the XML content of the SOAP request
body: <p><strong>Scenario</strong></p>
  
  <p>I am consuming a web service published by a partner. I am implementing a .NET proxy client.
  I would like to serialize the XML related to a web method invocation. The aim is to store the request details for further processing/re-processing/logging.</p>
  
  <p>I could shape the table in such a way that each parameter correspond to a field. But in this way the table would be strictly related to the web method signature.
  Instead I would like to create a general WebServiceClientRequest table that holds the XML body of the SOAP request.</p>
  
  <p>Eventually I can always add a related table that maps each parameter.</p>
  
  <p><strong>Question</strong></p>
  
  <p>Is there a way to serialize the XML content of the SOAP request?</p>