Hi,
I have a client (C# MS Excel Project) calling a Web Service to retrieve and
update data. One of the business requirement is the client's NT Login ID, IP
Address and computer name must be log for each web service method call.
To get client information using integrated Windows authentication with
ASP.NET client. You need to disable "Anonymous Access" and enable
"Integrated Windows authentication". IE will automatically pass in the
authetication information to IIS.
Since I am not using IE to call the Web Service, IIS could not retrieve
authentication information. How can I fix that limitation?
Thanks,
John Yung
john.yung@sac.com
Pablo Cibraro - 30 Sep 2005 14:49 GMT
Hi John,
You have two alternatives to solve that problem.
1. Set the proxy credentials to use Windows Authentication.
proxy.Credentials = System.Net.CredentialCache.DefaultCredentials; // The
current user credentials will be used
2. Configure the Web service to use WSE.
In this case, an UsernameToken should be used to authenticate the user (You
need to enable "Anonymous Access").
Regards,
Pablo Cibraro
www.lagash.com
In that case, maybe the better option is to disable Windows
> Hi,
>
[quoted text clipped - 16 lines]
> John Yung
> john.yung@sac.com