RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWSDLItems.GetBindingForServicePort Method

Returns the name of the binding associated with a specified service and port.

Pascal
function GetBindingForServicePort(const ServiceName: WideString; const PortName: WideString): IQualifiedName;
C++
__fastcall IQualifiedName GetBindingForServicePort(const BSTR ServiceName, const BSTR PortName);

Call GetBindingForServicePort to retrieve the name of a binding that is associated with the specified service and port. The binding is defined in the WSDL document or another document that it imports. A binding identifies an encoding format (e.g. soap:rpc) and communications protocol (eg. HTML) that is available for a specific port type (interface). 

ServiceName is the name of the service to which the desired binding belongs. 

PortName is the name of a port within the specified service that uses the binding. 

 

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