<div class="content" name="SRMPEnvelopeHeader" uuid="062b8317-2ade-4b1c-804d-1674b2fdcad3"><p>The SRMPEnvelopeHeader contains information about the SOAP
envelope used to send the original message over HTTP. This header MUST be present
only if the <b>UserHeader.Flags.AH</b> bit field is set.</p><table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td colspan="16">HeaderId</td>
  <td colspan="16">Reserved</td>
 </tr>
 <tr>
  <td colspan="32">DataLength</td>
 </tr>
 <tr>
  <td colspan="32">Data (variable)</td>
 </tr>
 <tr>
  <td colspan="32">...</td>
 </tr>
</tbody></table><p><b>HeaderId (2 bytes): </b>A <b>USHORT</b> (<span><a href="../ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2" data-linktype="relative-path">[MS-DTYP]</a></span>
section <span><a href="../ms-dtyp/c0618c5b-362b-4e06-9cb0-8720d240cf12" data-linktype="relative-path">2.2.58</a></span>)
that specifies the identification number of the header.</p><p><b>Reserved (2 bytes): </b>A <b>USHORT</b> that MUST
be ignored.</p><p><b>DataLength (4 bytes): </b>A <b>ULONG</b>
([MS-DTYP] section <span><a href="../ms-dtyp/32862b84-f6e6-40f9-85ca-c4faf985b822" data-linktype="relative-path">2.2.51</a></span>),
that MUST be the length of the data in the <b>Data</b> field.</p><p><b>Data (variable): </b>Specifies the data in <b>WCHAR</b>
([MS-DTYP] section <span><a href="../ms-dtyp/7df7c1d5-492c-4db4-a992-5cd9e887c5d7" data-linktype="relative-path">2.2.60</a></span>)
format, including the NULL terminator. The data is formatted as an <b>SRMP
Message Structure</b> (<span><a href="../mc-mqsrm/65a36056-30c6-429f-a890-10f107b61f6e" data-linktype="relative-path">[MC-MQSRM]</a></span>
section <span><a href="../mc-mqsrm/38cfc717-c703-46aa-a145-34f60b79399b" data-linktype="relative-path">2.2.2</a></span>).</p></div>