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