title: Could not find default endpoint element that references contract 'IAuthenticationService' in the ServiceModel client configuration section
body: <p>I tried creating a simple WCF application, I haven't changed any of the existing default configurations. I have tried consuming the service using the <code>TestClient</code> generated by using <code>svcutil.exe</code>. It is showing an error message <code>"Could not find default endpoint element that references contract 'IAuthenticationService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element."</code> I tried putting endpoint to localhost:port number/test.svc but its showing the same error.</p>
  
  <p><p>this code is being shown after i execute the web test client. I couldnt trace out the error after searching for long hours over internet<p></p>
  
  <p><p> Here is my testClients clientdll.config<p></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;configuration&gt;
      &lt;system.serviceModel&gt;
          &lt;bindings&gt;
              &lt;wsHttpBinding&gt;
                  &lt;binding name="wsHttpBinding" closeTimeout="00:01:00" openTimeout="00:01:00"
                      receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"
                      transactionFlow="false" hostNameComparisonMode="StrongWildcard"
                      maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
                      messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
                      allowCookies="false"&gt;
                      &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                          maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
                      &lt;reliableSession ordered="true" inactivityTimeout="00:10:00"
                          enabled="false" /&gt;
                      &lt;security mode="Message"&gt;
                          &lt;transport clientCredentialType="Windows" proxyCredentialType="None"
                              realm="" /&gt;
                          &lt;message clientCredentialType="Windows" negotiateServiceCredential="true"
                              algorithmSuite="Default" establishSecurityContext="true" /&gt;
                      &lt;/security&gt;
                  &lt;/binding&gt;
              &lt;/wsHttpBinding&gt;
          &lt;/bindings&gt;
          &lt;client&gt;
              &lt;endpoint address="http://localhost:2490/AuthenticationService.svc"
                  binding="wsHttpBinding" bindingConfiguration="wsHttpBinding"
                  contract="IAuthenicationService" name="wsHttpBinding"&gt;
                  &lt;identity&gt;
                      &lt;dns value="localhost" /&gt;
                  &lt;/identity&gt;
              &lt;/endpoint&gt;
          &lt;/client&gt;
      &lt;/system.serviceModel&gt;
  &lt;/configuration&gt;
  </code></pre>