Defines the binding element that is used when the client must expose an endpoint for the service to send messages back to the client.
<compositeDuplex clientBaseAddress="URI" />
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
|clientBaseAddress||A URI that sets the address of the back channel in duplex mode. The service uses this address to make contact and establish a connection with the client.
If this attribute is not set, a default address "
|<binding>||Defines all binding capabilities of the custom binding.|
This configuration element is used with transports that do not allow duplex communications natively, for example, HTTP. TCP, by contrast, allows duplex communications natively, and does not require the use of this binding element for the service to send messages back to a client.
The client must expose an address for the service to make contact and establish a connection. This client address is provided by the
clientBaseAddress attribute. Note that Windows Communication Foundation (WCF) auto-generates a ClientBaseAddress if one is not explicitly set by the user.
<compositeDuplex clientBaseAddress="http://www.contoso.com" />