Re: Simple readXML which requires authentication



I used the DataSet.readXML("http://xmlURL.xml";) to get and parse xml
content
into my database.

Oops! Won't work.

Try this out...

WebRequest.Create(...)
request.Credentials = new NetworkCredential(...);

request.GetResponse().GetResponseStream()

Then pass the stream to DataSet.ReadXML(...)



--
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org
http://webservices.edujini.in
-------------------


.



Relevant Pages

  • Re: Can images be saved to Session State and retrieved?
    ... session state object and convert to bitmap. ... > here is the code to retrieve the image from the database. ... > //Creating memory stream with the raw image data ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: The argument for fs assistance in handling archives
    ... Modern operating systems such as VMS with basic database ... as a byte stream and that the interpretation of the contents of a file ... that there are features that can only be provided by ... database has been tried before, ISAM is a very old concept. ...
    (Linux-Kernel)
  • Re: System.Drawing.Image.FromFile leaves file open longer than necessary: bug?
    ... load on the system when it finally does it by itself. ... > dispose the stream as soon as you are done reading it. ... database. ... stream out of the same array for copying into the picturebox, ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Robust single file database
    ... database novice). ... It may also invite users to put their own stuff into those folders, ... I have just found out that SFS performance suffers if you ... write lots of small pieces to a stream, rather than write the whole stream ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Nicks scheduler v18
    ... We ran your patch on STP against one of our database workloads (DBT3 on ... postgreSQL which uses file system rather than raw). ... power test (single stream update/query/delete). ... at the time there should not have been any actual updates. ...
    (Linux-Kernel)