RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetSoapOutputHeaders Method

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

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

Call GetSoapOutputHeaders to retrieve a dynamic array of interfaces for accessing the header nodes of the output node on a specified binding. GetSoapOutputHeaders locates the specified output node using the GetSoapBindingIONode method, and extracts all of its child header nodes. It then checks the message and part attributes of that output 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, GetSoapOutputHeaders does not check the message with which the header is associated.  

If GetSoapOutputHeaders is unable to locate an output header node for the specified binding and operation, 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!