-
Notifications
You must be signed in to change notification settings - Fork 571
Description
Hello, me and my colleges have run into the following puzzling problem.
We have a WCF client application that communicates with a third party WCF server. We are using a BasicHttpBinding with BasicHttpSecurityMode.Transport and HttpClientCredentialType.Windows to establish the binding. Everything works as expected if the TFM is netcoreapp3.1, but as soon as we try to switch to net5.0 each connection fails with
System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate'.
The version of System.ServiceModel.Http does not seem to matter. We tried it with both 4.7 and 4.8.1.
As far as I can tell the above error simply indicates a 401 status response. As such I am not certain if this is really a problem with WCF or a problem with the underlying runtime.