<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 |
---|---|
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. |
|
Optional element. Specifies the default port for a connection. |
|
Optional element. Specifies a value indicating whether a channel is bound for exclusive access. |
|
Optional element. Specifies which clients are allowed or denied access to a Web service. |
|
Optional element. Specifies a value indicating the time to idle out a connection. |
|
Optional element. Specifies a value indicating whether a delay occurs when send or receive buffers are not full. |
|
Optional element. Specifies the maximum amount of time that WSE will take to receive a SOAP message using the TCP protocol. |
|
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 |
---|---|
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