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