public MeuServicoClient() : base(MeuServicoClient.GetDefaultBinding(), MeuServicoClient.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IMeuServico.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }