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