Partager via


<add> Element for <transports>

Adds a SOAP transport to the system.

<microsoft.web.services3> Element
  <messaging> Element
    <transports> Element

<add scheme type >
  <connectionLimit />
  <defaultPort />
  <exclusiveAddressUse />
  <hosts />
  <idleTimeoutInMilliSeconds />
  <noDelay />
  <receiveTimeoutInMilliSeconds />
  <sendTimeoutInMilliSeconds />
</add>

Attributes and Elements

Attributes

Attribute Description

scheme

Required attribute. The transport scheme to remove. Can be one of the WSE supported schemes or a custom transport scheme.

type

Optional attribute. When the scheme attribute refers to a custom transport scheme, the type attribute is required. The value of the type attribute must be the type implementing the custom transport, which must implement the ISoapTransport interface.

Child Elements

Element Description

<connectionLimit> Element

Optional element. Specifies the maximum number of connections made to and from an application that sends and/or receives SOAP messages using the TCP protocol.

<defaultPort> Element

Optional element. Specifies the default port for a connection.

<exclusiveAddressUse> Element

Optional element. Specifies a value indicating whether a channel is bound for exclusive access.

<hosts> Element

Optional element. Specifies which clients are allowed or denied access to a Web service.

<idleTimeoutInMilliSeconds> Element

Optional element. Specifies a value indicating the time to idle out a connection.

<noDelay> Element

Optional element. Specifies a value indicating whether a delay occurs when send or receive buffers are not full.

<receiveTimeoutInMilliSeconds> Element

Optional element. Specifies the maximum amount of time that WSE will take to receive a SOAP message using the TCP protocol.

<sendTimeoutInMilliSeconds> Element

Optional element. Specifies the maximum amount of time that WSE will take to send a SOAP message using the TCP protocol.

Parent Elements

Element Description

<transports> Element

Controls the SOAP transport settings for the Microsoft Web Services Enhancements.

Example

The following code example adds the soap.tcp transport to the system with a default port value of 8081.

<configuration>
  <microsoft.web.services3>
    <messaging>
      <transports>
        <add scheme="soap.tcp" >
          <defaultPort value="8081" />
        </add>
      </transports>
    </messaging>
  </microsoft.web.services3>
</configuration>

See Also

Reference

<idleTimeoutInMilliSeconds> Element
<noDelay> Element
<exclusiveAddressUse> Element
<defaultPort> Element