SoapRpcMethodAttribute::ResponseElementName Property
.NET Framework (current version)
Gets or sets the XML element associated with the SOAP response for an XML Web service method.
Assembly: System.Web.Services (in System.Web.Services.dll)
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
Available since 1.1
Show: