SrinivasRega-6292 avatar image
0 Votes"
SrinivasRega-6292 asked ·

BizTalk 2016 -- Authorization errror when using WCF- WebHttp Adapter

Hi ,

I am getting below error when trying to send POST request to Web Service API using WCF-WebHttp Adapter.

The adapter failed to transmit message going to send port "SE697_SndPrtPublishConrtactDocToHMIS" with URL "". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.Net.WebException: The HTTP request is unauthorized with client authentication scheme 'Ntlm'. The authentication header received from the server was 'NTLM,Negotiate'.

I am using Security mode as Transport and client credential type as Ntlm

I am able successfuly post the message using Soap UI but getting error when trying using BizTalk WCF-WebHTTP Send port.

· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I've had issues with the WCF- WebHttp Adapter with other authentication schemes, usually Basic as per WCF-WebHttp Adapter – Basic Authorisation, but that is due to the web service responding with a 401 and having no accepted authorization schemes. The workaround that I used, as mentioned in that blog was to use a Endpoint behaviour that preemptively added the authentication. Are BizTalk and the web service running in the same Domain?
Note, there seems to be a mismatch in the case of the scheme Ntlm vs NTLM, not sure if that is significant or just a red herring.

0 Votes 0 ·

0 Answers