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