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