RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetSoapInputHeaders Method

Returns an interface for accessing the header nodes that belong to the input node of a specified binding and operation.

Pascal
function GetSoapInputHeaders(BindingName: IQualifiedName; const Operation: WideString; OverloadIndex: Integer; const MessageName: WideString = ''): IHeaderInfoArray;
C++
__fastcall IHeaderInfoArray GetSoapInputHeaders(IQualifiedName BindingName, const BSTR Operation, int OverloadIndex, const BSTR MessageName = '');

Call GetSoapInputHeaders to retrieve a dynamic array of interfaces for accessing the header nodes of the input node on a specified binding. GetSoapInputHeaders locates the specified input node using the GetSoapBindingIONode method, and extracts all of its child header nodes. It then checks the message and part attributes of that input node, and returns a dynamic array of interfaces for the headers.  

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.  

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, GetSoapInputHeaders does not check the message with which the header is associated.  

If GetSoapInputHeaders is unable to locate an input header node for the specified binding and operation, it returns nil (Delphi) or NULL (C++). 

 

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