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