Hello,
I have written C# to invoke LoginWindows service. as below
LoginWindowsServiceClient client = new LoginWindowsServiceClient();
LoginWindowsContext context = new LoginWindowsContext();
context.CompanyID = "0060";
context.Culture = "en-US";
context.OnBehalfOf = String.Empty;
context.RequestedEncoding = Encode.None
client.LoginWindows(context);
Web.config supports Negotiate authentication System and Windows authentication is enabled with Providers Ntlm and Negotiate on IIS 7.5.
App.config in WCF has Windows Credential Type.
Which Fails and Exception is as below
The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from the server was 'Negotiate XXXXX'
AS SL service uses transport security with negotiated authentication. This negotiation attempts to use Kerberos, but if that doesn't work, it'll fall back and use the older NTLM protocol.
Kerberos is not configured at server side Hence I do expect to downgrade it to NTLM. But it doesn't.
Is any configuration missing?
Please help.
Thanks
Sonia