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