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