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