Share via


<transports> Element

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

<microsoft.web.services2> Element
  <messaging> Element

<transports>
  <clear/>
  <add>
    <exclusiveAddressUse/>
    <defaultPort/>
    <idleTimeout/>
    <noDelay/>
  </add>
  <remove/>
</transports>

Attributes and Elements

Attributes

None

Child Elements

Element Description

<clear> Element

Specifies that all registered transports are to be removed.

<add> Element for <transports>

Specifies a SOAP transport to add to the system.

<remove> Element (WSE for Microsoft .NET)

Specifies that a SOAP transport is to be removed from the system.

Parent Elements

Element Description

<messaging> Element

Controls the messaging 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.services2>
    <messaging>
      <transports>
        <add scheme="soap.tcp" >
          <defaultPort value="8081" />
        </add>
      </transports>
    </messaging>
  </microsoft.web.services2>
</configuration>

See Also

Reference

<clear> Element
<add> Element for <transports>
<remove> Element (WSE for Microsoft .NET)
<messaging> Element