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