SoapBinding::Namespace Field

 

Gets the URI for the XML namespace of the SoapBinding class. This field is constant.

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

public:
literal String^ Namespace

Field Value

Type: System::String^

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

SoapBinding^ mySoapBinding = gcnew SoapBinding;
mySoapBinding->Transport = "http://schemas.xmlsoap.org/soap/http";
mySoapBinding->Style = SoapBindingStyle::Document;
// Get the URI for XML namespace of the SoapBinding class.
String^ myNameSpace = SoapBinding::Namespace;
Console::WriteLine( "The URI of the XML Namespace is :{0}", myNameSpace );

.NET Framework
Available since 1.1
Return to top
Show: