System.Web.Services.Protocols.SoapDocumentMethodAttribute.Action Property

Gets or sets the SOAPAction HTTP header field of the SOAP request.

Syntax

public string Action { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Typically, the SoapDocumentMethodAttribute.Action property is a URI indicating the intent of the request. However, the SOAP specification places no restrictions on the format of the URI, or any rules about whether the URI is resolvable. The presence and content of the SoapDocumentMethodAttribute.Action property can be used by Web servers, such as firewalls, to appropriately filter SOAP request messages in HTTP.

By default, the .NET Framework version 1.1 publishes the SoapDocumentMethodAttribute.Action property in the soapAction attribute of the soap:operation element for each supported SOAP binding in WSDL documents generated for an XML Web service. For more information on the SOAP specification, see the W3C Web site (http://www.w3.org/TR/SOAP).

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0