SoapMethodAttribute::SoapAction Property
.NET Framework (current version)
Gets or sets the SOAPAction header field used with HTTP requests sent with this method. This property is currently not implemented.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System::String^The SOAPAction header field used with HTTP requests sent with this method.
This property is currently not implemented.
The SOAPAction HTTP request header field indicates the intent of the SOAP HTTP request. For more information on the SOAPAction field, see www.w3.org/tr/soap/#_Toc478383528.
The following code example shows how to use the SoapAction property. This code example is part of a larger example provided for the SoapMethodAttribute class.
[SoapMethod( ResponseXmlElementName="ExampleResponseElement", ResponseXmlNamespace= "http://example.org/MethodResponseXmlNamespace", ReturnXmlElementName="HelloMessage", SoapAction="http://example.org/ExampleSoapAction#GetHello", XmlNamespace="http://example.org/MethodCallXmlNamespace")] String^ GetHello( String^ name ) { return String::Format( L"Hello, {0}", name ); }
.NET Framework
Available since 1.1
Available since 1.1
Show: