SoapRpcMethodAttribute::ResponseElementName Property

 

Gets or sets the XML element 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:
property String^ ResponseElementName {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The XML element associated with the SOAP request for an XML Web service method. The default value is WebServiceNameResult, where WebServiceName is the name of the XML Web service method.

The ResponseElementName property defines the XML element used to encapsulate the parameters within the Body element of the SOAP response.

The following code example sets the ResponseElementName property to MyCustomResponseElement.

.NET Framework
Available since 1.1
Return to top
Show: