Esempio n. 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(CountryServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpsBinding_ICountryService));
 }
Esempio n. 2
0
 public CountryServiceClient(EndpointConfiguration endpointConfiguration) :
     base(CountryServiceClient.GetBindingForEndpoint(endpointConfiguration), CountryServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }