RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetSoapHeaders Method

Returns an interface for accessing a specified set of header nodes.

Pascal
function GetSoapHeaders(BindingName: IQualifiedName; const Operation: DOMString; Input: Boolean; OverloadIndex: Integer; const MessageName: DOMString = ''): IHeaderInfoArray;
C++
__fastcall IHeaderInfoArray GetSoapHeaders(IQualifiedName BindingName, const DOMString Operation, Boolean Input, int OverloadIndex, const DOMString MessageName = '');

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++). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!