2
Answers

The HTTP request is unauthorized with client authentication

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>
Answers (2)
0
Asutosha Sarangi

Asutosha Sarangi

NA 164 489 7y
Now I am getting 
"The provided URI scheme 'https' is invalid; expected 'http'.
Parameter name: via" 
0
Altaf Ansari

Altaf Ansari

NA 1.4k 27.4k 7y
Please refer this:
 
http://morrisbahrami.blogspot.in/2011/02/http-request-is-unauthorized-with.html