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