다음을 통해 공유


<transports> Element

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

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

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

Attributes and Elements

Attributes

None

Child Elements

Element Description

<clear> Element for <transports>

Specifies that all registered transports are to be removed.

<add> Element for <transports>

Specifies a SOAP transport to add to the system.

<remove> Element for <transports>

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

See Also

Reference

<clear> Element for <transports>
<add> Element for <transports>
<remove> Element for <transports>
<messaging> Element