Calling a Moss2007 webservice and the 401 error
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Ok here's the deal: I am testing / mocking up calling a Moss2007 webservice from a windows form and populating a listview with the results. Very simple( at least that's what I thought). Here is the code: webSvcWebs.PreAuthenticate = true; webSvcWebs.Credentials = System.Net.CredentialCache.DefaultCredentials; //new System.Net.NetworkCredential(mysignon, mypassword, mydomain); XmlNode sites = webSvcWebs.GetWebCollection(); here webSvcWebs = "http://rvisp02/\_vti\_bin/webs.asmx". Well as you can see above I have tried both credential ways and I still get the 401 unauthorized error. Any ideas. I seeing to be running out of them. Thanks for your help. Sameer