Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 04 MAY 2007 09:02:34AM Kendal S Hulbert wrote:

I am trying to send a request to a server to retrieve an XML file for uploading to a database, but I keep getting an 'Illegal Termination' error in the 'open' call:

objReq=oleCreateInstance( "MSXML2.XMLHTTP.4.0" )

objReq-]async=FALSE$

objReq-]validateOnParse=FALSE$

objReq-]resolveExternals=FALSE$

 oleX=objReq-]open("POST", "http://localhost/oi/oecgi.exe/inet_trace2", FALSE$)

Please tell me what is wrong with this code?


At 04 MAY 2007 03:29PM Bob Carten wrote:

Kendal

Your code worked for me.

Are you using Oi 7.22?

Does your URL work if you type it into a browser?

- Bob


At 08 MAY 2007 05:43AM Kendal S Hulbert wrote:

OK, If it works for you Bob then it must be somethjing to do with my new machine and the URL. Which makes me think it's OECGI. I type the URL into the browser and get nothing.

I'll look into it.

Thanks


At 08 MAY 2007 06:48PM Warren Auyong wrote:

What version of OI are you using? Try OECGI2 which is much easier to configure and get up and running. OECGI seems to take a witch doctor at times to get working.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/9933e6d6391b5912852572d10047a58b.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1