private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(SinavServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ISinavService)); }
public SinavServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(SinavServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public SinavServiceClient() : base(SinavServiceClient.GetDefaultBinding(), SinavServiceClient.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_ISinavService.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
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)); }