Asutosha Sarangi

Asutosha Sarangi

  • 1.6k
  • 421
  • 8.7k

The HTTP request is unauthorized with client authentication

Jan 10 2018 1:31 PM
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>

Brought to you by:

Answers (3)