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
 
Back
Top