RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSOAPDOMProcessor.AddHeaderProcessor Method

Adds a processor to the internal list of interfaces to use for interpreting and creating SOAP headers.

Pascal
procedure AddHeaderProcessor(Namespace: WideString; HeaderName: WideString; TypeName: WideString; Processor: IDOMHeaderProcessor); virtual;
C++
virtual __fastcall AddHeaderProcessor(BSTR Namespace, BSTR HeaderName, BSTR TypeName, IDOMHeaderProcessor Processor);

AddHeaderProcessor stores a specified processor interface and the information necessary to identify the SOAP headers that it handles. 

Namespace is the namespace URI in which the SOAP header identified by HeaderName is defined. 

HeaderName is the name of the SOAP header that the processor handles. 

TypeName is the name of the type that is used for the value of the header. 

Processor is the interface for a helper object that creates or interprets SOAP headers that match Namespace, HeaderName, and TypeName.

Note: AddHeaderProcessor 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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!