title: Inject header into WCF outbound message
body: <p>I have a WCF service built on the classes created from a customer supplied WSDL. Unfortunately this WSDL did not contain the required message header. The client will not be supplying a new WSDL including the header. I do have an xsd file describing the header.</p>
  
  <p>I also have a sample header and know which fields I need to populate.</p>
  
  <p>How can I take this supplied header XML and inject it into an outbound WCF method call?
  I want to call my service method as I currently do, but I also want the new header structure to form part of the outbound message.</p>
  
  <p>Thanks in advance.
  Any and all help will be greatly appreciated.</p>
  
  <p>Here is an example of the message structure:
  I need to add the entire header structure. All that the WSDL contained was the body.</p>
  
  <pre><code>&lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt;
     &lt;s:Header&gt;
        &lt;glob:requestHeader xmlns:glob="http://...."&gt;
           &lt;timestamp&gt;2013-11-14T05:17:41.793+02:00&lt;/timestamp&gt;
           &lt;traceMessageId&gt;GUID&lt;/traceMessageId&gt;
           &lt;enterpriseTraceUUId&gt;GUID&lt;/enterpriseTraceUUId&gt;
           &lt;contentType&gt;TEXT/XML&lt;/contentType&gt;
           &lt;sender&gt;
              &lt;senderId&gt;SENDER&lt;/senderId&gt;
              &lt;sourceSystem&gt;001&lt;/sourceSystem&gt;
              &lt;sourceApplication&gt;001&lt;/sourceApplication&gt;
              &lt;applicationSessionId&gt;ABC&lt;/applicationSessionId&gt;
              &lt;sourceLocation&gt;100&lt;/sourceLocation&gt;
           &lt;/sender&gt;
           &lt;interfaceName/&gt;
           &lt;version&gt;1111&lt;/version&gt;
        &lt;/glob:requestHeader&gt;
     &lt;/s:Header&gt;
     &lt;s:Body xmlns:xsi="http://.../XMLSchema-instance" xmlns:xsd="http://.../XMLSchema"&gt;
        &lt;UserData xmlns="http://.../Base"&gt;
           &lt;IdField&gt;1005687&lt;/IdField&gt;
           &lt;UserInfo&gt;
              &lt;UserType&gt;1&lt;/UserType&gt;
              &lt;UserStatus&gt;Y&lt;/UserStatus&gt;
           &lt;/UserInfo&gt;
        &lt;/UserData&gt;
     &lt;/s:Body&gt;
  &lt;/s:Envelope&gt;
  </code></pre>