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