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