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