[SOAP Extensibility] [SOAP Extensibility] The authentication header received from the server was 'Digest
soap-extensibility-samples
Forge component by Pedro Guimarães
Application Type
Service

Hi everyone,

I need to call a Soap WebService with the authentication type Digest but I don't find any way to do that

When I try to call the webservice, I get the following error:

The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Digest realm="Xatlas", qop="auth", nonce=...

 If I try with basic authentication, I get the same error, but this time regarding basic authentication.


I tried to add a new method in the extension with those 2 rows:

  var httpElement = binding.Elements.Find<HttpTransportBindingElement>();

  httpElement.AuthenticationScheme = System.Net.AuthenticationSchemes.Digest;


but I receive the same error but in this case with scheme 'Digest'

The HTTP request is unauthorized with client authentication scheme 'Digest'. The authentication header received from the server was 'Digest realm="Xatlas", qop="auth", nonce="...

Has anyone encountered the same issue?


Thanks.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.