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