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