public RatesSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(RatesSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public LariRatesClient(ServiceReference1.RatesSoapClient client) { _client = client; }
public RatesSoapClient(EndpointConfiguration endpointConfiguration) : base(RatesSoapClient.GetBindingForEndpoint(endpointConfiguration), RatesSoapClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }