RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSOAPDOMProcessor.DefaultProcessHeader Method

Handles the interpretation of a SOAP header when no processor can be found.

Pascal
procedure DefaultProcessHeader(HeaderNode: IXMLNode; var Handled: Boolean; var AbortRequest: Boolean); virtual;
C++
virtual __fastcall DefaultProcessHeader(IXMLNode HeaderNode, Boolean Handled, Boolean AbortRequest);

DefaultProcessHeader is called to provide a default interpretation of a SOAP header when it is not processed by one of the processors that FindHeaderProcessor returns. 

HeaderNode is the interface of the DOM representation of the SOAP header to be processed. 

Handled returns true if DefaultProcessHeader handles the header node. 

AbortRequest returns true if DefaultProcessHeader determines that the SOAP header can't be handled and that this results in an inability to interpret the entire SOAP request.

Note: DefaultProcessHeader is supplied for backward compatibility. Headers are handled differently, using lists of TSOAPHeader descendants that are supplied as parameters to methods in descendant classes.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!