Soap.WSDLItems.TWSDLItems.GetServiceAndPortOfBinding

提供: RAD Studio API Documentation
移動先: 案内検索

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);

プロパティ

種類 可視性 ソース ユニット
function public
Soap.WSDLItems.pas
Soap.WSDLItems.hpp
Soap.WSDLItems TWSDLItems

説明

サービスの名前と指定されたバインディングに関連付けられたポートを取得します。

GetServiceAndPortOfBinding メソッドを呼び出すと,サービスの名前と指定されたバインディングに関連付けられたポートを取得できます。GetServiceAndPortOfBinding は,GetBindingForServicePort メソッドの逆検索を行います。

BindingName は,サービス名とポート番号を検索するバインディングの修飾名を指定します。

ServiceName は,バインディングが属するサービスの名前を返します。

PortName は,バインディングを使用するサービスのポート名を返します。

GetServiceAndPortOfBinding は,指定されたバインディングが見つかり,サービスとポートを返した場合は,true を返します。WSDL ドキュメント内で指定されたバインディングが定義されていなかった場合は,false を返します。

関連項目