Web Service Binding Types
A binding specifies the protocols, transports, and message encoders used for communication between clients and services.
Basic HTTP binding
This binding uses HTTP as the transport for sending SOAP 1.1 messages. Use the Basic HTTP binding to communicate with services exposing endpoints that conform to WS-I BP 1.1, such as ASMX Web services or Windows Communication Foundation (WCF) services configured with the Basic HTTP binding.
Security is turned off by default, but can be added setting the Mode to a value other than None. It uses a "Text" message encoding and UTF-8 text encoding by default.
General
Name | Description |
---|---|
Allow cookies | Specifies whether the client accepts cookies and propagates them on future requests. |
Bypass proxy on local | Specifies whether to bypass the proxy server for local addresses. |
Close timeout | The interval of time provided for a connection to close before the transport raises an exception causing the Adapterflow to fail. |
Host name comparison mode | Specifies whether the hostname is used to reach the service when matching the URI. The following values are valid for this setting:
|
Max buffer pool size | The maximum amount of memory that is allocated for use by the manager of the message buffers that receive messages from the channel. |
Max buffer size | The maximum size for a buffer that receives messages from the channel. |
Max received message size | The maximum size for a message that can be received on a channel configured with this binding. |
Message encoding | Specifies whether MTOM or Text is used to encode SOAP messages. |
Name | The name of the binding. |
Open timeout | The interval of time provided for a connection to open before the transport raises an exception causing the Adapterflow to fail. |
Proxy address | The URI address of the HTTP proxy. |
Receive timeout | Not used. |
Send timeout | The interval of time provided for a write operation to complete before the transport raises an exception causing the Adapterflow to fail. |
Transfer mode | Specifies whether messages are sent buffered or streamed. |
Use default web proxy | Specifies whether the auto-configured HTTP proxy of the system should be used, if available. |
Reader quota properties
Name | Description |
---|---|
Max array length | The maximum allowed array length. |
Max bytes per read | The maximum allowed bytes returned for each read. |
Max depth | The maximum nested Node depth. |
Max name table char count | The maximum number of characters allowed in a table name. |
Max string content length | The maximum string length returned by the reader. |
Security properties
Name | Description |
---|---|
Client credential type | The credential type that the client can authenticate with when security is enabled. The following value are valid for this setting:
|
Mode | The security mode. The following value are valid for this setting:
|
Proxy credential type | The valid credential types for HTTP proxy authentication. The following value are valid for this setting:
|
Realm | The authentication realm for digest or basic authentication. |
Security algorithm | The algorithm suite to be used. |
Transport client credential type | Valid credential types for HTTP client. The following value are valid for this setting:
|
WS HTTP binding
The WS HTTP binding is similar to the Basic HTTP binding but provides more Web service features. It uses the HTTP transport and provides message security, as does Basic HTTP binding, but it also provides transactions, reliable messaging, and WS-Addressing, either enabled by default or available through a single control setting.
General
Name | Description |
---|---|
Allow cookies | Specifies whether the client accepts cookies and propagates them on future requests. |
Bypass proxy on local | Specifies whether to bypass the proxy server for local addresses. |
Close timeout | The interval of time provided for a connection to close before the transport raises an exception causing the Adapterflow to fail. |
Host name comparison mode | Specifies whether the hostname is used to reach the service when matching the URI. The following values are valid for this setting:
|
Max buffer pool size | The maximum amount of memory that is allocated for use by the manager of the message buffers that receive messages from the channel. |
Max received message size | The maximum size for a message that can be received on a channel configured with this binding. |
Message encoding | Specifies whether MTOM or Text is used to encode SOAP messages. |
Name | The name of the binding. |
Open timeout | The interval of time provided for a connection to open before the transport raises an exception causing the Adapterflow to fail. |
Proxy address | The URI address of the HTTP proxy. |
Receive timeout | The interval of time that a connection can remain inactive, during which no application messages are received, before it is dropped. |
Send timeout | The interval of time provided for a write operation to complete before the transport raises an exception causing the Adapterflow to fail. |
Text encoding | The character encoding that is used for the message text. |
Transaction flow | Specifies whether this binding is to support flowing WS-Transactions. |
Use default web proxy | Specifies whether the auto-configured HTTP proxy of the system is to be used, if available. |
Reliable session
Name | Description |
---|---|
Enabled | Specifies whether the reliable session is enabled. |
In activity timeout | An interval of time that a service can remain inactive before closing. |
Ordered | A value that indicates whether message delivery must preserve the order in which messages are sent. |
Reader quota properties
Name | Description |
---|---|
Max array length | The maximum allowed array length. |
Max bytes per read | The maximum allowed bytes returned for each read. |
Max depth | The maximum nested Node depth. |
Max name table char count | The maximum number of characters allowed in a table name. |
Max string content length | The maximum string length returned by the reader. |
Security properties
Name | Description |
---|---|
Client credential type | The credential type required by a binding for authentication. The following value are valid for this setting:
|
Establish security context | Specifies whether a security context token is established. |
Mode | The security settings for a binding. The following values are valid for this setting:
|
Negotiate service credential | Specifies whether the service credential is provisioned at the client out of band or is obtained from the service through a process of negotiation. |
Proxy credential type | The valid credential types for HTTP proxy authentication. The following values are valid for this setting:
|
Security algorithm | The algorithm suite used for security messages at the SOAP level. |
Realm | The authentication realm for digest or basic authentication. |
Transport client credential type | The type of client credential to be used for authentication. The following values are valid for this setting:
|
Custom binding
Custom binding is defined by a list of binding elements, or from the values of another binding. It can only be configured using code expression.