private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(LanguageServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_LanguageService)); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(LanguageServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_LanguageService)); }
public LanguageServiceClient(EndpointConfiguration endpointConfiguration) : base(LanguageServiceClient.GetBindingForEndpoint(endpointConfiguration), LanguageServiceClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public LanguageServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(LanguageServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public LanguageServiceClient() : base(LanguageServiceClient.GetDefaultBinding(), LanguageServiceClient.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_LanguageService.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }