The HTTP request is unauthorized with client authentication scheme 'Ntlm'. The authentication header received from the server was 'Negotiate,NTLM'
when I am consuming wcf service getting this error.
<pre> <system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_Asutosha">
<security mode="Transport">
<transport clientCredentialType="Ntlm" proxyCredentialType="None" realm="">
<extendedProtectionPolicy policyEnforcement="Never" />
</transport>
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
<binding name="BasicHttpBinding_Asutosha1" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="https://localhost/dips/Data_dip"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_Asutoshas"
contract="MygroupData.Asutoshas" name="BasicHttpBinding_Asutoshas" />
</client>
</system.serviceModel> </pre>