예제 #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(PaymentClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IPayment));
 }
예제 #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(PaymentClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IPayment));
 }
예제 #3
0
 public PaymentClient(EndpointConfiguration endpointConfiguration) :
     base(PaymentClient.GetBindingForEndpoint(endpointConfiguration), PaymentClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #4
0
 public PaymentClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(PaymentClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
예제 #5
0
 public PaymentClient() :
     base(PaymentClient.GetDefaultBinding(), PaymentClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IPayment.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }