J Jure P Apr 5, 2005 #1 How can i call Web Service method with HTTP-POST(GET) where windows authentication is required? than you, J
How can i call Web Service method with HTTP-POST(GET) where windows authentication is required? than you, J
T Teemu Keiski Apr 5, 2005 #2 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
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