WS HTTP POST auth

  • Thread starter Thread starter Jure P
  • Start date Start date
J

Jure P

How can i call Web Service method with HTTP-POST(GET) where windows
authentication is required?

than you, J
 
Depends do you do the request manually (HttpWebRequest) or by using WS
client classes (by .NET proxy generation) but anyways, you should look for
Credentials property in the responsible object and have use of
CredentialCache/NetworkCredential class.

WebClientProtocol.Credentials Property
http://msdn.microsoft.com/library/d...olswebclientprotocolclasscredentialstopic.asp

CredentialCache
http://msdn.microsoft.com/library/d...l/frlrfsystemnetcredentialcacheclasstopic.asp

NetworkCredential
http://msdn.microsoft.com/library/d...frlrfsystemnetnetworkcredentialclasstopic.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top