HttpBinding.Namespace Field

 

Specifies the URI for the XML namespace representing the HTTP transport for use with SOAP. This field is constant.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

Public Const Namespace As String

Field Value

Type: System.String

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

The following example demonstrates a typical use of the Namespace field.

' Create 'Binding' object.
Dim myBinding As New Binding()
myBinding.Name = "MyHttpBindingServiceHttpPost"
Dim qualifiedName As New XmlQualifiedName("s0:MyHttpBindingServiceHttpPost")
myBinding.Type = qualifiedName
' Create 'HttpBinding' object.
Dim myHttpBinding As New HttpBinding()
myHttpBinding.Verb = "POST"
Console.WriteLine("HttpBinding Namespace : " + HttpBinding.Namespace)

.NET Framework
Available since 1.1
Return to top
Show: