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