RequireSoapHeaderAssertion Class
Represents a security assertion that requires the presence of the specified SOAP header in SOAP requests that are sent to a Web service.
Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim requireSoapHeaderAssertion1 As New RequireSoapHeaderAssertion()
Syntax
'Declaration
Public Class RequireSoapHeaderAssertion
Inherits PolicyAssertion
public class RequireSoapHeaderAssertion : PolicyAssertion
public ref class RequireSoapHeaderAssertion : PolicyAssertion
public class RequireSoapHeaderAssertion extends PolicyAssertion
public class RequireSoapHeaderAssertion extends PolicyAssertion
Remarks
Use the requireSoapHeaderAssertion security assertion to require that an incoming SOAP message contains a specific SOAP header. This SOAP header must be a direct descendant of the <Header> element in the SOAP message.
A security assertion can be used with or without a policy file. To use the requireSoapHeaderAssertion assertion without a policy file, use the RequireSoapHeaderAssertion class and the process that is specified in the topic How to: Secure a Web Service Without Using a Policy File. To use the requireSoapHeaderAssertion assertion with a policy file, use the <requireSoapHeader Element> with the process that is specified in the topic How to: Secure a Web Service Using a Policy File.
Inheritance Hierarchy
System.Object
Microsoft.Web.Services3.Design.PolicyAssertion
Microsoft.Web.Services3.Design.RequireSoapHeaderAssertion
Microsoft.Web.Services3.Design.RequireActionHeaderAssertion
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
RequireSoapHeaderAssertion Members
Microsoft.Web.Services3.Design Namespace