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