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