Results 1 to 3 of 3

Thread: XML and SSL

  1. #1
    bamby Guest

    Default XML and SSL

    Hi,<BR>I want to get my id (in xml) at other server with this code:<BR>&#060;%<BR>iURL = "https://user:password@server/cgi-bin/cginame.cgi?parameter"<BR><BR>Set xmlDoc = CreateObject("microsoft.xmldom")<BR>xmlDoc.async = false<BR>xmlDoc.load(iURL)<BR><BR>set a = xmlDoc.documentElement<BR>abc = a.xml<BR>response.write abc<BR><BR>set xmlDoc = nothing<BR>%&#062;<BR><BR>but after that i&#039ve got an error like this<BR><BR>Object required: &#039a&#039<BR><BR>is there anyone can help me?<BR><BR>thank&#039s<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: XML and SSL

    I don&#039t know if what you&#039re trying to do here is even possible.<BR><BR>You probably want to check the xmlDoc.ParseError property after loading the URL to be sure that the document has been loaded correctly. IF xmlDoc.ParseError.errorCode &#060;&#062; 0 then you have an error.<BR><BR>HTH<BR><BR>Dunc

  3. #3
    Join Date
    Dec 1969

    Default RE: XML and SSL

    I&#039m not sure that you can use the load method with a URL (check the doc to be sure)<BR>You can use the MSXML.XMLHTTPRequest to GET a URL<BR><BR><BR>:)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts