private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(RecipientListWebserviceClient.GetEndpointAddress(EndpointConfiguration.RecipientList));
 }
 public RecipientListWebserviceClient(EndpointConfiguration endpointConfiguration) :
     base(RecipientListWebserviceClient.GetBindingForEndpoint(endpointConfiguration), RecipientListWebserviceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }