title: XmlElement wrapped in extra tag in SOAP request
body: <p>Hi I have a service-proxy with one method:</p>
  
  <pre><code>void SendRequest(MyMessage msg);
  </code></pre>
  
  <p>The MyMessage is defined as follows:</p>
  
  <pre><code>[MessageContract(IsWrapped=false)]
  public class MyMessage{
      [MessageBodyMember(Order=0)]
      public XmlElement Body;
  
      public MyMessage(XmlElement Body){
          this.Body = Body;
      }
  }
  </code></pre>
  
  <p>Now, the problem is that when I send the request, the Body is wrapped in a tag like so:</p>
  
  <pre><code>&lt;s:Body&gt;
      &lt;Body&gt;
           &lt;MyMessage&gt;
                 &lt;SomeData&gt;Hello world&lt;/SomeData&gt;
           &lt;/MyMessage&gt;
      &lt;/Body&gt;
  &lt;/s:Body&gt;
  </code></pre>
  
  <p>when what I really want is:</p>
  
  <pre><code>&lt;s:Body&gt;
      &lt;MyMessage&gt;
                 &lt;SomeData&gt;Hello world&lt;/SomeData&gt;
      &lt;/MyMessage&gt;
  &lt;/s:Body&gt;
  </code></pre>
  
  <p>Can someone please help? I'm starting to become desperate! :/</p>
  
  <p>EDIT: The reason I want to send XmlElement is that the service will accept a various amount of XML-formats, and will do the xsd-validation and transformation on the server-side. This is only supposed to be sort of a wrapper.</p>
  
  <p>There is also no way I can have the endpoint-server simply accept the "wrong" xml-structure, as I'm not in control of that.</p>