Re: How to call a web service using NT Authentication
From: John Lee (johnl_at_newsgroup.nospam)
Date: 12/29/04
- Next message: helmut fish: "[ANN] Ibex PDF Creator 3.0 Released"
- Previous message: Laxmikant Rashinkar: "Re: VS 2005"
- In reply to: John Lee: "How to call a web service using NT Authentication"
- Next in thread: Steven Cheng[MSFT]: "Re: How to call a web service using NT Authentication"
- Reply: Steven Cheng[MSFT]: "Re: How to call a web service using NT Authentication"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 28 Dec 2004 16:37:06 -0800
FYI,
ws.Credentials = System.Net.CredentialCache.DefaultCredentials;
will do that job!!!
"John Lee" <johnl@newsgroup.nospam> wrote in message
news:e540OiT7EHA.1300@TK2MSFTNGP14.phx.gbl...
> Hi,
>
> I have a web service setup as "Integrated Windows Authentication" only,
> How can I set the credential to call the web service from Windows
> application? I tried to create the proxy, and the Network Credential class
> required Domain, userName and password - that's not a good one because the
> password should not be hard-coded. - Even I hardcoded it still give me
> "401 - not authorized error" Do I need to use WSE2.0 to call a WS using NT
> authentication?
>
> Any help and tips will be greatly appreciated!
>
> Thanks a lot!
> John
>
- Next message: helmut fish: "[ANN] Ibex PDF Creator 3.0 Released"
- Previous message: Laxmikant Rashinkar: "Re: VS 2005"
- In reply to: John Lee: "How to call a web service using NT Authentication"
- Next in thread: Steven Cheng[MSFT]: "Re: How to call a web service using NT Authentication"
- Reply: Steven Cheng[MSFT]: "Re: How to call a web service using NT Authentication"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|