Condividi tramite


SoapMethodInvoker.Invoke Method

Invokes the target Web service method that is specified in the SOAP request.

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

Usage

'Usage
Dim message As SoapEnvelope
Dim returnValue As SoapEnvelope
Dim soapMethodInvoker1 As SoapMethodInvoker
returnValue = soapMethodInvoker1.Invoke(message)

Syntax

'Declaration
Public MustOverride Function Invoke( _
    ByVal message As SoapEnvelope _
) As SoapEnvelope
public abstract SoapEnvelope Invoke(
    SoapEnvelope message
);
public:
virtual SoapEnvelope^ Invoke(
    SoapEnvelope^ message
) abstract;
public abstract SoapEnvelope Invoke(
    SoapEnvelope message
);
public abstract function Invoke(
     message : SoapEnvelope
) : SoapEnvelope;

Parameters

  • message
    A SoapEnvelope that specifies the Web service method to invoke.

Return Value

A SoapEnvelope that contains the SOAP response when the Web service method is a request/response Web service method.

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

SoapMethodInvoker Class
SoapMethodInvoker Members
Microsoft.Web.Services3.Messaging Namespace