SoapDocumentMethodAttribute.ResponseNamespace Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public string ResponseNamespace { get; set; }

Property Value

Type: System.String

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

The ResponseNamespace property is used in the XSD schema for the XML Web service method in its service description.

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

.NET Framework
Available since 1.1
Return to top
Show: