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