Soap.WSDLItems.TWSDLItems.GetServiceAndPortOfBinding

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function  GetServiceAndPortOfBinding(const BindingName: IQualifiedName;  var ServiceName: DOMString; var PortName: DOMString): Boolean;

C++

bool __fastcall GetServiceAndPortOfBinding(const _di_IQualifiedName BindingName, System::UnicodeString &ServiceName, System::UnicodeString &PortName);

Properties

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

Description

Retrieves the names of the service and port associated with a specified binding.

Call GetServiceAndPortOfBinding to retrieve the name of the service and port associated with a specified binding. GetServiceAndPortOfBinding performs the converse lookup from the GetBindingForServicePort method.

BindingName specifies the qualified name of the binding for which you want to look up the service and port.

ServiceName returns the name of the service to which the binding belongs.

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

GetServiceAndPortOfBinding returns true if it locates the specified binding and returns a service and port. It returns false if the specified binding is not defined in the WSDL document.

See Also