Soap.WSDLItems.TWSDLItems.GetSoapHeaders
Delphi
function GetSoapHeaders(BindingName: IQualifiedName; const Operation: DOMString; Input: Boolean; OverloadIndex: Integer; const MessageName: DOMString; var SOAPVersion: TSOAPVersion; out ResultsWSDLItems: IWSDLItems): IHeaderInfoArray;
C++
IHeaderInfoArray __fastcall GetSoapHeaders(_di_IQualifiedName BindingName, const System::UnicodeString Operation, bool Input, int OverloadIndex, const System::UnicodeString MessageName, Soap::Wsdlintf::TSOAPVersion &SOAPVersion, /* out */ _di_IWSDLItems &ResultsWSDLItems);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Soap.WSDLItems.pas Soap.WSDLItems.hpp |
Soap.WSDLItems | TWSDLItems |
Description
Returns an interface for accessing a specified set of header nodes.
Call GetSoapHeaders to retrieve a dynamic array of interfaces for accessing information about the header nodes of a specified operation on a specified binding. This method provides the underlying implementation for the GetSoapInputHeaders and GetSoapOutputHeaders methods.
BindingName is an interface for reading the name of the binding that includes the <soap:binding> tag. A binding describes the encoding and transport protocols for an associated port type.
Operation is the name of the operation of that <soap:binding> tag. Operations correspond to methods on an invokable interface.
Input indicates whether the header node should belong to the operation's input node (true) or output node (false).
OverloadIndex indicates which operation node is desired when the binding has multiple operations with the same name (overloaded methods). 0 indicates the first operation with the specified name, 1 indicates the second operation node, and so on.
MessageName is the name of a Message with which the header should be associated. If MessageName is an empty string, GetSoapHeaders does not check the message with which the header is associated.
If GetSoapHeaders is unable to locate a header node for the specified name, binding, and IOType, it returns nil (Delphi) or NULL (C++).