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