Пример #1
0
 public RatesSoapClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(RatesSoapClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #2
0
 public LariRatesClient(ServiceReference1.RatesSoapClient client)
 {
     _client = client;
 }
Пример #3
0
 public RatesSoapClient(EndpointConfiguration endpointConfiguration) :
     base(RatesSoapClient.GetBindingForEndpoint(endpointConfiguration), RatesSoapClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }