Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, October 28, 2020 12:23 PM
I have dot net core 2.2 application which consuming NAV SOAP endpoint working fine in the IIS environment. I have upgraded to dot net core 3.1 where the SOAP endpoint not working giving the error "The HTTP request is unauthorized with client authentication scheme 'Basic'. The authentication header received from the server was 'Negotiate'."
While debugging I come to know Channel, Inner channel and State is not initialize properly in dot net 3.1 generally state should be open but it's showing faulted.
Exception -- system.servicemodel.communicationobjectfaultedexception.
Please find below snapshot for more information. Proxy class initialization sanpshot
https://i.stack.imgur.com/rq7Aj.png
All replies (2)
Thursday, October 29, 2020 6:52 AM âś…Answered
Issue Resolved.
This issue because of an improper upgrade to Dot Net core 3.1. and System.ServiceModel should have Version="4.4.4"
Wednesday, October 28, 2020 3:01 PM
Try this thread