Share via


readHeader Method (Windows Embedded CE 6.0)

1/6/2010

The method reads a header. When the client receives a SOAP response, the SoapServer object calls the header handler's readHeader method once for each header in the response message. Each time that the server receives a SOAP request for a <port> or <operation> element for which a header handler is defined, the SoapServer object first calls the header handler's readHeader method for each header in the request message. The readHeader method should return TRUE if the handler understood the header.

Syntax

HRESULT readHeader( 
  XMLDOMNode* pHeaderNode, 
  Idispatch* pObject, 
  VARIANT_BOOL* pUnderstood
);

Parameters

  • pHeaderNode
    [in] <Header> element.
  • pObject
    [in] Reference to the object that will handle the request on the server. pObject is null when the header handler is used on the client.
  • pUnderstood
    [out] Value returned by the header handler to indicate whether or not the <Header> element was recognized.

Requirements

Header mssoap.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IHeaderHandler

Concepts

Handling SOAP Headers