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 string RequestNamespace { get; set; }

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: