RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetBindingOperationNode Method

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

Pascal
function GetBindingOperationNode(const BindingName: WideString; const Operation: WideString; OverloadIndex: Integer): IBindingOperation;
C++
__fastcall IBindingOperation GetBindingOperationNode(const BSTR BindingName, const BSTR Operation, int OverloadIndex);

Call GetBindingOperationNode to retrieve the operation interface for a SOAP binding. GetBindingOperationNode locates a binding with the specified name, and searches its child nodes for an operation node with the specified name. If there is more than one operation with the specified name (that is, if the method is overloaded), GetBindingOperationNode locates the desired overload based on its position.  

BindingName is the name of the binding. A binding describes the encoding and transport protocols for an associated port type.  

Operation is the name of the operation of that binding node. Operations correspond to methods on an invokable interface.  

OverloadIndex indicates which operation node to choose if there are overloaded methods. 0 indicates the first operation node with the specified name, 1 indicates the second operation node with that name, and so on.  

GetBindingOperationNode returns an IBindingOperation interface, which can be used to access the name, inputs, outputs, and faults associated with the operation. If GetBindingOperationNode is unable to locate an operation node for the specified binding and operation names, it returns nil (Delphi) or NULL (C++). 

 

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