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