Soap.WSDLItems.TWSDLItems.GetBindingOperationNode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  GetBindingOperationNode(const BindingName, Operation: DOMString; OverloadIndex: Integer; out ResultsWSDLItems: IWSDLItems): IBindingOperation;

C++

Soap::Wsdlbind::_di_IBindingOperation __fastcall GetBindingOperationNode(const System::UnicodeString BindingName, const System::UnicodeString Operation, int OverloadIndex, /* out */ _di_IWSDLItems &ResultsWSDLItems);

Properties

Type Visibility Source Unit Parent
function public
Soap.WSDLItems.pas
Soap.WSDLItems.hpp
Soap.WSDLItems TWSDLItems

Description

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

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

See Also