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