Share via


SecureConversationServiceReceiveSecurityFilter.RouteRequest Method

Gets the method to which the specified SOAP message should be routed to.

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim envelope As SoapEnvelope
Dim returnValue As SoapServerMethod
Dim secureConversationServiceReceiveSecurityFilter1 As SecureConversationServiceReceiveSecurityFilter
returnValue = secureConversationServiceReceiveSecurityFilter1.RouteRequest(envelope)

Syntax

'Declaration
Public Overrides Function RouteRequest( _
    ByVal envelope As SoapEnvelope _
) As SoapServerMethod
public override SoapServerMethod RouteRequest(
    SoapEnvelope envelope
);
public:
virtual SoapServerMethod^ RouteRequest(
    SoapEnvelope^ envelope
) override;
public override SoapServerMethod RouteRequest(
    SoapEnvelope envelope
);
public override function RouteRequest(
     envelope : SoapEnvelope
) : SoapServerMethod;

Parameters

  • envelope
    A SoapEnvelope that represents the SOAP message to which the SOAP message should be routed to.

Return Value

A System.Web.Services.Protocols.SoapServerMethod that represents the method that the SOAP message should be routed to.

Exceptions

Exception type Condition
System.ArgumentNullException

envelope is null.

Remarks

The RouteRequest method routes the SOAP message to the method that issues or cancels a SecurityContextToken security token based on the SOAP action. The following table specifies the methods that the SOAP message can be routed to based on the SOAP action.

SOAP action

Method

RequestSecurityContextToken

The method that issues a SecurityContextToken security token.

RequestSecurityContextTokenCancel

The method that cancels a SecurityContextToken security token.

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

SecureConversationServiceReceiveSecurityFilter Class
SecureConversationServiceReceiveSecurityFilter Members
Microsoft.Web.Services3.Security Namespace