The client element defines a list of endpoints that a client can connect to.
The following sections describe attributes, child elements, and parent elements.
Contains a collection of endpoint elements, that specify the endpoints that this client can connect to.
Contains settings for processing metadata.
The root element of all Windows Communication Foundation (WCF) configuration elements.
The client section defines a list of endpoints that a client can connect to. Each endpoint listed in the client section defines its own binding, behavior, and contract. It is uniquely identified by the combination of the name and contract attributes. The client code specifies the name to connect to an endpoint for the service that the client implements. If the name attribute is omitted, the endpoint acts as the default endpoint for the contract it implements.
In addition, this section also specifies settings for processing metadata.
<client> <endpoint address="/HelloWorld/" bindingConfiguration="usingDefaults" name="MyBinding" binding="customBinding" contract="HelloWorld"> <addressProperties actingAs="http://www.microsoft.com/TestActor" identityData="BasicReadWrite" identityType="Spn" isAddressPrivate="false"> </endpoint> </client>