SoapHelper.GetAction Method (SoapMessage)
Gets a string value that is the action attribute in the XML Soap message from the specified SoapMessage.
Namespace: Microsoft.Web.Services3
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim message As SoapMessage
Dim returnValue As String
returnValue = SoapHelper.GetAction(message)
Syntax
'Declaration
Overloads Public Shared Function GetAction( _
ByVal message As SoapMessage _
) As String
public static string GetAction(
SoapMessage message
);
public:
static String^ GetAction(
SoapMessage^ message
);
public static System.String GetAction(
SoapMessage message
);
public static function GetAction(
message : SoapMessage
) : String;
Parameters
- message
Return Value
A string that is the actor attribute value from the specified SoapMessage.
Remarks
For the given message request this method retrieves the Soap action from the http header, either from the "SOAPAction" header for SOAP 1.1 or from the contentType header's "action" parameter for SOAP 1.2.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
SoapHelper Class
SoapHelper Members
Microsoft.Web.Services3 Namespace