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