title: How to avoid wrapping when using XmlSerializerFormat for WCF service?
body: <p>I'm using WCF to create a SOAP web service, with predefined XSD contract, and C# types auto-generated from that XSD. </p>
  
  <pre><code> [ServiceContract]
   [XmlSerializerFormat]
   public interface IEBooking10
   {
         [OperationContract]
         [XmlSerializerFormat]
         OTA_CancelRS OTA_Cancel(OTA_CancelRQ rq);
   }
  </code></pre>
  
  <p>OTA_CancelRQ &amp; OTA_CancelRS are auto-generated types, with corresponding XML serialization attributes.
  The parameters get wrapped in OTA_Cancel and OTA_CancelResponse elements, like this:</p>
  
  <pre><code>&lt;OTA_Cancel&gt;
     &lt;OTA_CancelRQ&gt; ... &lt;/OTA_CancelRQ&gt;
  &lt;/OTA_Cancel&gt;
  </code></pre>
  
  <p>and</p>
  
  <pre><code>&lt;OTA_CancelResponse&gt;
     &lt;OTA_CancelRS&gt; ... &lt;/OTA_CancelRS&gt;
  &lt;/OTA_CancelResponse&gt;
  </code></pre>
  
  <p>How can I avoid wrapping that WCF does to input parameters of the OTA_Cancel operation?</p>