Options

load XML from https?

mrQQmrQQ Member Posts: 239
greetings,

i'm having troubles trying to download xml file from https server.. i tried XMLHTTP50, but dont know how to save it to file.. I tried DOMDocument from XML automation, but that only creates 0 size file.. im out of ideas really.. I also tried InternetExplorer automation, but it says that member body of Document is not valid? :(

Thanks for any help..

Comments

  • Options
    jhoekjhoek Member Posts: 216
    A DOMDocument object from the Microsoft XML Core Services library can certainly load from the HTTPRequest object's ResponseStream and save to a file. Be sure to check the parseError property of the DOMDocument to see if the XML document that was received could be parsed. If not, the DOMDocument will be empty and saving it will produce a 0 byte file, as you found out... :wink:
    Kind regards,

    Jan Hoek
    Product Developer
    Mprise Products B.V.
  • Options
    mrQQmrQQ Member Posts: 239
    that was my exact problem indeed, parse errors =) thank you!
Sign In or Register to comment.