Export (0) Print
Expand All
2 out of 4 rated this helpful - Rate this topic

SoapMessageStage Enumeration

Specifies the processing stage of a SOAP message.

[Visual Basic]
<Serializable>
Public Enum SoapMessageStage
[C#]
[Serializable]
public enum SoapMessageStage
[C++]
[Serializable]
__value public enum SoapMessageStage
[JScript]
public
   Serializable
enum SoapMessageStage

Remarks

ASP.NET provides an extensibility mechanism for calling Web Services using SOAP. The extensibility mechanism revolves around a SoapExtension that can inspect or modify a message at specific stages in message processing on either the client or the server. This enumeration specifies the processing stage of the SoapMessage.

Members

Member name Description
AfterDeserialize

Supported by the .NET Compact Framework.

The stage just after a SoapMessage is deserialized from a SOAP message into an object.

During SoapClientMessage processing, the AfterDeserialize stage occurs after the SOAP message containing the response from an XML Web service method invocation has been deserialized into an object, but prior to the client receiving the deserialized results.

During SoapServerMessage processing, the AfterDeserialize stage occurs after a network request containing a SOAP message representing an XML Web service method invocation is deserialized into an object, but prior to the method on that object representing the XML Web service method is called.

AfterSerialize

Supported by the .NET Compact Framework.

The stage just after a SoapMessage is serialized, but before the SOAP message is sent over the wire.

During SoapClientMessage processing, the AfterSerialize stage occurs after a client invokes an XML Web service method and the parameters are serialized into XML, but prior to the SOAP message containing that XML is sent over the network.

During SoapServerMessage processing, the AfterSerialize stage occurs after an XML Web service method returns and any return values are serialized into XML, but prior to the SOAP message containing that XML is sent over the network.

BeforeDeserialize

Supported by the .NET Compact Framework.

The stage just before a SoapMessage is deserialized from the SOAP message sent across the network into an object.

During SoapClientMessage processing, the BeforeDeserialize stage occurs after the network response from an XML Web service method invocation has been received, but just before the response containing the SOAP message is deserialized into an object.

During SoapServerMessage processing, the BeforeDeserialize stage occurs after a network request containing the SOAP message for an XML Web service method invocation is received by the Web server, but prior to the SOAP message being deserialized into an object.

BeforeSerialize

Supported by the .NET Compact Framework.

The stage just prior to a SoapMessage being serialized.

During SoapClientMessage processing, the BeforeSerialize stage occurs after a client invokes an XML Web service method, but prior to the invocation being serialized.

During SoapServerMessage processing, the BeforeSerialize stage occurs after the invocation to the XML Web service method returns, but prior to the return values being serialized and sent over the wire back to the client.

Requirements

Namespace: System.Web.Services.Protocols

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Web.Services (in System.Web.Services.dll)

See Also

System.Web.Services.Protocols Namespace | SoapMessage | SoapExtension

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.