ServerXMLHTTP Problem

Results 1 to 2 of 2

Thread: ServerXMLHTTP Problem

  1. #1
    Join Date
    Dec 1969

    Default ServerXMLHTTP Problem

    Anyone ever use serverXMLHTTP to post an XML file to a remote address and try to load and parse returning XML?<BR><BR>objHTTP = server.createobject("Msxml2.ServerXMLHTTP.4.0")<BR >objHTTP.Open "Post", strURL, false<BR>objHTTP.Send strXMLmsg<BR>strResp = objHTTP.responseXML.xml<BR><BR>set objXML = server.createobject("MSXML2.DOMDocument.4.0")<BR>o bjXML.async = false<BR>objXML.validateOnParse = false<BR><BR>objXML.LoadXML(strResp)<BR>....etc... <BR><BR>objXML.parseError.reason yields "There is no data for the requested resource"<BR><BR>What am I doing wrong?<BR>Thanks, AJZ

  2. #2
    Join Date
    Dec 1969

    Default you don't need a new DOMDocument...

    responseXML should return a DomDocument object for you to use directly. check the SDK<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