title: The username is not provided. Specify username in ClientCredentials
body: <p>I Create a WCF application with client credential. It's working fine internally while i refer and call this service from the other project means i got the error message.</p>
  
  <pre><code>The username is not provided. Specify username in ClientCredentials.
  </code></pre>
  
  <p>Please help me to solve this.</p>
  
  <pre><code>&lt;bindings&gt;
    &lt;wsHttpBinding&gt;
   &lt;binding name="WSHttpBinding_IWcfService" 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="TransportWithMessageCredential"&gt;
                      &lt;transport clientCredentialType="None" proxyCredentialType="None"
                          realm="" /&gt;
                      &lt;message clientCredentialType="UserName" negotiateServiceCredential="true"
                          algorithmSuite="Default" /&gt;
                  &lt;/security&gt;
              &lt;/binding&gt;
    &lt;/wsHttpBinding&gt;
  &lt;/bindings&gt;
  &lt;client&gt;
   &lt;endpoint address="https://wcfauthtest.sbs.in:448/WcfService.svc/WcfService.svc"
                  binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IWcfService"
                  contract="AuthTest.IWcfService" name="WSHttpBinding_IWcfService"&gt;
                  &lt;identity&gt;
                      &lt;dns value="localhost" /&gt;
                  &lt;/identity&gt;
   &lt;/endpoint&gt;
  &lt;/client&gt;
  </code></pre>
  
  <p>Any help?</p>