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