This documentation is archived and is not being maintained.

SoapBinding.HttpTransport Field

Gets the URI for the standard protocol specifying HTTP transmission of SOAP data. This field is constant.

[Visual Basic]
Public Const HttpTransport As String
[C#]
public const string HttpTransport;
[C++]
public: const String* HttpTransport;
[JScript]
public var HttpTransport : String;

Remarks

The field value is "http://schemas.xmlsoap.org/soap/http/".

Example

[Visual Basic] 
Dim mySoapBinding As New SoapBinding()
mySoapBinding.Transport = SoapBinding.HttpTransport
mySoapBinding.Style = SoapBindingStyle.Document

[C#] 
SoapBinding mySoapBinding = new SoapBinding();
mySoapBinding.Transport = SoapBinding.HttpTransport;
mySoapBinding.Style = SoapBindingStyle.Document;

[C++] 
SoapBinding* mySoapBinding = new SoapBinding();
mySoapBinding->Transport = SoapBinding::HttpTransport;
mySoapBinding->Style = SoapBindingStyle::Document;

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SoapBinding Class | SoapBinding Members | System.Web.Services.Description Namespace

Show: