title: How do I remove SOAP envelope method names from request response?
body: <p>When using ASP.NET Webservice it automatically adds the <code>MethodNameResult</code> and <code>MethodaNameResponse</code>.</p>
  
  <p>Is there a easy way to not include them, and can we do the same with the request?</p>
  
  <p>I.e., remove <code>&lt;tem:HelloWorld&gt;&lt;tem:xml&gt;</code> from</p>
  
  <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/"&gt;
     &lt;soapenv:Header/&gt;
     &lt;soapenv:Body&gt;
        &lt;tem:HelloWorld&gt;
           &lt;tem:xml&gt;
  </code></pre>
  
  <p>Here is the response sample</p>
  
  <pre><code>&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
     &lt;soap:Body&gt;
        &lt;HelloWorldResponse xmlns="http://tempuri.org/"&gt;
           &lt;HelloWorldResult&gt;
           &lt;/HelloWorldResult&gt;
        &lt;/HelloWorldResponse&gt;
     &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>