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