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