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