SoapBindingStyle 列挙型

定義

この列挙型を適用するクラス階層のレベルで XML Web サービスで発生するアクションの種類を指定します。

public enum class SoapBindingStyle
public enum SoapBindingStyle
type SoapBindingStyle = 
Public Enum SoapBindingStyle
継承
SoapBindingStyle

フィールド

名前 説明
Default 0

Web サービス記述言語 (WSDL) ファイルの現在の階層レベルのアクションの既定の種類。

Document 1

送信されるメッセージはドキュメント指向です。

Rpc 2

送信されるメッセージには、プロシージャを呼び出すパラメーター、またはそのプロシージャからの戻り値が含まれています。 RPC は、"リモート プロシージャ コール" の頭字語です。

SoapBinding^ mySoapBinding = gcnew SoapBinding;
mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
mySoapBinding->Style = SoapBindingStyle::Document;

// Add the 'SoapBinding' object to the 'Binding' object.
myBinding->Extensions->Add( mySoapBinding );
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http";
mySoapBinding.Style = SoapBindingStyle.Document;
// Add the 'SoapBinding' object to the 'Binding' object.
myBinding.Extensions.Add(mySoapBinding);
Dim mySoapBinding As New SoapBinding()
mySoapBinding.Transport = "http://schemas.xmlsoap.org/soap/http"
mySoapBinding.Style = SoapBindingStyle.Document
' Add the 'SoapBinding' object to the 'Binding' object.
myBinding.Extensions.Add(mySoapBinding)

注釈

この列挙により、ユーザーは、送信されるメッセージがプロシージャ指向かドキュメント指向かを指定できます。 プロシージャ指向のメッセージにはパラメーターと戻り値が含まれますが、ドキュメント指向のメッセージにはドキュメントが含まれます。

適用対象