The SoapHeader method is received by the server in an RPC_REQUEST packet. In response, the server MUST set the SOAPHeader instance variable.

 [propput] HRESULT SoapHeader(
   [in] BSTR bstrSoapHeader
 );

bstrSoapHeader: A BSTR that contains a string representation of the XML elements that will be appended to the end of the SOAP header within the message.

Return Values: The method MUST return S_OK (0x00000000) on success or an implementation-specific error HRESULT on failure.

When processing this call, the server MUST follow these guidelines: