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