I am trying to use the XMLDocument.Load method to load an XML document from a web site (http://www.xxx.com/file.xml). As I am going through ISA and require Proxy authentication, I cannot seem to use any property on the XMLDocument object to specify such. I tried using the XML Resolver but to no avail. All I can specify there is the URLResolver and pass some credentials, but no proxy. I am using VB.NET 2005 PRO, and will be using this functionality from a WinForms application as well as a compiled .DLL assembly. I may have seen someone trying to set a proxy for all "global" type requests, but not sure on how to implement it, or if its the best approach.
Regards,
Giovanni

XMLDocument.Load Proxy Error (Authentication, Credentials, etc...)
Rafael Gomez Hernando
Hello Giovanni,
XmlUrlResolver uses WebRequest class to open the URL. The proxy detection in .Net Framework 2.0 shoudl work automatically. If it does not work for you, try setting your proxy for all web requests using the WebRequest.DefaultWebProxy property (http://msdn2.microsoft.com/en-us/library/system.net.webrequest.defaultwebproxy(VS.80).aspx).
Thanks,
-Helena Kotas, System.Xml developer