Gets or sets the SOAPAction HTTP header field of the SOAP request.
Assembly: System.Web.Services (in System.Web.Services.dll)
Typically, the 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 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 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).
The following code example sets the property to http://www.contoso.com/GetUserName.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.