WebService.SoapVersion プロパティ

定義

XML Web サービスに対して SOAP 要求を行うために使用する SOAP プロトコルのバージョンを取得します。

public:
 property System::Web::Services::Protocols::SoapProtocolVersion SoapVersion { System::Web::Services::Protocols::SoapProtocolVersion get(); };
[System.ComponentModel.Browsable(false)]
[System.Runtime.InteropServices.ComVisible(false)]
public System.Web.Services.Protocols.SoapProtocolVersion SoapVersion { get; }
[<System.ComponentModel.Browsable(false)>]
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.SoapVersion : System.Web.Services.Protocols.SoapProtocolVersion
Public ReadOnly Property SoapVersion As SoapProtocolVersion

プロパティ値

SoapProtocolVersion

SoapProtocolVersion 値のいずれか 1 つ。 既定値は、Default です。

属性

注釈

SOAP プロトコルが HTTP-GET や HTTP-POST などの XML Web サービスとの通信に使用されなかった場合、プロパティの SoapVersion 値は Default.

クラスから WebService 派生しない XML Web サービスの場合、XML Web サービスへの SOAP 要求を行うために使用される SOAP プロトコルのバージョンには、プロパティの HttpContext.Items "WebServiceSoapVersion" エントリを使用してアクセスすることもできます。 そのエントリは型 SoapProtocolVersionです。

適用対象

こちらもご覧ください