Share via


WebServicesClientProtocol.RequestSoapContext Property

Gets security, routing, and other XML Web services architecture-specific information that is associated with a SOAP request.

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

Usage

'Usage
Dim webServicesClientProtocol1 As WebServicesClientProtocol

Dim returnValue As SoapContext
returnValue = webServicesClientProtocol1.RequestSoapContext

Syntax

'Declaration
Public ReadOnly Property RequestSoapContext() As SoapContext
public SoapContext RequestSoapContext {get;}
public:
property SoapContext^ RequestSoapContext {
    SoapContext^ get();
}
public SoapContext get_RequestSoapContext();
public function get RequestSoapContext() : SoapContext;

Property Value

A SoapContext object that contains XML Web services architecture-specific information that is specific to a SOAP request.

Remarks

XML Web services clients use the RequestSoapContext property to set properties of the SoapContext that are associated with SOAP requests. The SoapContext provides access to the contents of SOAP headers that are defined in the WS-Security, WS-Routing, and WS-Timestamp specifications. For instance, the Security property enables a client to provide authentication credentials, XML digital signatures, and encryption details that are sent in SOAP headers that are defined by WS-Security.

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

WebServicesClientProtocol Class
WebServicesClientProtocol Members
Microsoft.Web.Services3 Namespace