Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SoapDocumentMethodAttribute::RequestNamespace Property

 

Gets or sets the namespace associated with the SOAP request for an XML Web service method.

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

public:
property String^ RequestNamespace {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The XML namespace associated with the SOAP request for an XML Web service method. The default is http://tempuri.org/.

RequestNamespace is used in the XSD schema for the XML Web service method within its service description.

The following code example sets the RequestNamespace property to http://www.contoso.com.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft