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