Exemple #1
0
 public NCBPaymentClient(EndpointConfiguration endpointConfiguration) :
     base(NCBPaymentClient.GetBindingForEndpoint(endpointConfiguration), NCBPaymentClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Exemple #2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(NCBPaymentClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_INCBPayment));
 }