Groups | Blog | Home
all groups > dotnet xml > august 2003 >

dotnet xml : How to specify proxy/authority for XmlDocument.Load()


Manfred Braun
8/17/2003 6:45:17 PM
Hi All,

I am trying to access xml-files in the internet from my intranet-page.
Making XmlDocument.Load() calls internally works fine, but not so to the
internet. I think the calls are failing, because we use a proxy-server.

Can I specify a specifix proxy in the call and/or in the
configuration-files? For the configuration-files, I am not finding samples,
which point out how to specify username and password. For the XmlDocument, I
even find nothing in this range, so, do I have to make a webRequest
"manually" specifying a proxy and pass the pulled data to the XmlDocument
after that?

Any help would really be very welcomed!

Best regards,
Manfred Braun

(Private)
Mannheim
Germany

mailto:_manfred.braun_@manfbraun.de
(Remove the anti-spam-underscore to mail me!)
Oleg Tkachenko
8/17/2003 8:41:21 PM
[quoted text, click to view]

Read "Supplying Authentication Credentials to XmlResolver when Reading
from a File" at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconsupplyingauthenticationcredentialstoxmlresolverwhenreadingfromfile.asp
--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel
AddThis Social Bookmark Button