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