Partager via


SoapReceiver Class

Provides a base class for receiving SOAP messages using the SOAP Messaging feature set.

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

Usage

'Usage
Dim soapReceiver1 As New SoapReceiver()

Syntax

'Declaration
MustInherit Public Class SoapReceiver
    Inherits SoapPort
    Implements IHttpHandler
public abstract class SoapReceiver : SoapPort, IHttpHandler
public ref class SoapReceiver abstract : SoapPort, IHttpHandler
public abstract class SoapReceiver extends SoapPort implements IHttpHandler
public abstract class SoapReceiver extends SoapPort implements IHttpHandler

Remarks

To receive messages using SoapReceiver, you must register it. This is done either by adding it to the SoapReceivers collection if the SOAP message is to be received via any protocol other than HTTP, or by adding an <transports> Element entry to a configuration file if the message is to be received via the HTTP protocol.

Notes to Inheritors: When you inherit from SoapReceiver, you must override the Receive method.

Inheritance Hierarchy

System.Object
   Microsoft.Web.Services3.Messaging.SoapPort
    Microsoft.Web.Services3.Messaging.SoapReceiver
       Microsoft.Web.Services3.Messaging.SoapService
       Microsoft.Web.Services3.Messaging.WebServiceReceiver

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

SoapReceiver Members
Microsoft.Web.Services3.Messaging Namespace

Other Resources

<transports> Element