readHeader Method (Windows CE 5.0)
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.
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Mssoap.h.
Link Library: Uuid.lib.
See Also
Handling SOAP Headers | IHeaderHandler
Send Feedback on this topic to the authors