System.Web.Services.Protocols.SoapMessage.Stream Property

Gets the data representing the SOAP request or SOAP response in the form of a System.IO.Stream.

Syntax

public System.IO.Stream Stream { get; }

Value

a System.IO.Stream

Remarks

SOAP extensions that inspect the data representing a SOAP request or SOAP response, such as a logging SOAP extension, can use the Stream property to view the data at each System.Web.Services.Protocols.SoapMessageStage.

SOAP extensions that modify the data representing a SOAP request or SOAP response, such as encryption or compression SOAP extensions, should do so with the System.IO.Stream passed into the SoapExtension.ChainStream(System.IO.Stream) method of System.Web.Services.Protocols.SoapExtension. The SoapMessage.Stream property of System.Web.Services.Protocols.SoapMessage passed into SoapExtension.ProcessMessage(SoapMessage) is read-only.

For more information on modifying the data representing a SOAP request or SOAP response, see SoapExtension.ChainStream(System.IO.Stream).

Requirements

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0