Partilhar via


<security> of <ws2007HttpBinding>

Represents the security settings used with the <ws2007HttpBinding> element.

Schema Hierarchy

<system.serviceModel>
  <bindings>
    <ws2007HttpBinding>
      <binding>
        <security> of <ws2007HttpBinding>

Syntax

<system.serviceModel>
    <bindings>
        <ws2007HttpBinding>
            <binding name = "string">
              <security mode="None/Message/Transport/TransportWithMessageCredential">
                  <transport>
                  </transport>
                  <message>
                  </message>
              </security
        </ws2007HttpBinding>
    </bindings>
</system.ServiceModel>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

mode

  • Optional. Specifies the type of security that is applied. The default is Message.

This attribute is of type SecurityMode.

Child Elements

Element Description

<transport> of <ws2007HttpBinding>

Defines the transport security settings. This element corresponds to the HttpTransportSecurityElement type. These settings are applied only when the mode is set to Transport.

<message> of <ws2007HttpBinding>

Defines the security settings for the message. This element corresponds to the MessageSecurityOverHttpElement type. These settings are not applied when the mode is set to Transport.

Parent Elements

Element Description

<ws2007HttpBinding>

A secure binding for HTTP transport applications.

Remarks

This element is designed for interoperation with services that implement WS-* specifications. The transport security for this binding is Secure Sockets Layer (SSL) over HTTP, or HTTPS.

See Also

Reference

WSHttpSecurity
Security
Security
WSHttpSecurityElement
BasicHttpSecurity

Concepts

<binding>

Other Resources

Securing Services and Clients
Windows Communication Foundation Bindings
Configuring System-Provided Bindings
Using Bindings to Configure Services and Clients


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05