windows NTLM authentication

From: Balu (yadavab_at_telkom.co.za)
Date: 05/28/03


Date: Wed, 28 May 2003 07:21:57 -0700


Hi,

I am using a windows application to call methods on a Web
Service.
I add a refernce to the WS in my windows app and it works
fine when the WS security setting is set to anonymous in
IIS. But when Windows (NTLM) authentication is checked, it
always comes back with HTTP error 401: access denied. At
the moment both the windows app and the WS are running on
the same machine and I can still execute methods on the WS
from IE.
Is there some way I can tell the windows app to
impersonate the currently logged-on user. Shouldn't it do
this automatically?

Thanks in advance