Exemple #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return LoanServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ILoanService);
 }
Exemple #2
0
 public LoanServiceClient(EndpointConfiguration endpointConfiguration) : 
         base(LoanServiceClient.GetBindingForEndpoint(endpointConfiguration), LoanServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }