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