title: Webservice dynamic invoke + get raw data
body: <p>I use the following code to invoke a webservice from <code>wsdl</code> dynamically, which is working perfectly:(<a href="http://www.codeproject.com/Articles/376168/Csharp-Dynamic-Web-Service-Invoker" rel="nofollow noreferrer">see docs</a>)</p>
  
  <p>Now I want to have the raw data from the response. I found the following:
  (<a href="http://msdn.microsoft.com/en-us/library/system.web.services.protocols.soapextension%28VS.85%29.aspx." rel="nofollow noreferrer">Docs</a>)</p>
  
  <p>But to use that example I need a place to add the method attribute of the extension. Because I invoke the <code>webservice</code> method through reflection, I don't have the method definition in my code.</p>
  
  <p>On the previous <code>webpage</code> they are talking about creating a <code>soapextension</code> to capture the raw messages.
  But where do I need to apply the extension in the first code, to have a dynamic webservice invoker with the possibility to request the raw data?</p>