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