<defaultPort> Element
Specifies a value indicating the default port for a connection.
<microsoft.web.services3> Element
<messaging> Element
<transports> Element
<add> Element for <transports>
<transports>
<add scheme="soap.tcp" >
<defaultPort value/>
</add>
</transports>
Attributes and Elements
Attributes
Attribute | Description |
---|---|
value |
Required attribute. Specifies the default port for a connection. |
Child Elements
None
Parent Elements
Element | Description |
---|---|
Adds a SOAP transport to the system. |
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
<messaging> Element
<transports> Element
<add> Element for <transports>