RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetSoapBindingIONode Method

Returns the interface for a node on a specified binding and operation.

Pascal
function GetSoapBindingIONode(const BindingName: WideString; const Operation: WideString; Input: Boolean; OverloadIndex: Integer): IXMLNode;
C++
__fastcall IXMLNode GetSoapBindingIONode(const BSTR BindingName, const BSTR Operation, Boolean Input, int OverloadIndex);

Call GetSoapBindingIONode to retrieve a specified node on an operation of a SOAP binding. GetSoapBindingIONode locates a binding with the specified name that includes a <soap:binding> tag, locates the specified operation node that is a child of that binding, and returns the child of that node with a specified name. This method provides the underlying implementation for the GetSoapBindingInputNode and GetSoapBindingOutputNode methods.  

BindingName is 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 child node is an input node (true) or an 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.  

If GetSoapBindingIONode is unable to locate a node for the specified name, 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!