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