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::RequestElementName Property

 

Gets or sets the XML element associated with the SOAP request for an XML Web service method, which is defined in a service description as an operation.

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

public:
property String^ RequestElementName {
	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, which is defined in an service description as an operation. The default value is the name of the XML Web service method.

The RequestElementName defines the XML element used to wrap the parameters beneath the Body element of the SOAP request when ParameterStyle is Wrapped. This is reflected in the XSD schema representing the SOAP request to the XML Web service method within the service description for an XML Web service.

The following code example sets the name of the XML element associated with the XML Web service method in the SOAP request to MyCustomElement.

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