Post a web request from OI (OpenInsight Specific)
At 05 NOV 2001 08:15:41PM Jim Weir wrote:
Can anyone tell me how I can post a request to a web service using Basic+.
Another way of asking this question is how can I write the following Javascript code in Basic+?
function PostCustomers(xmldoc) {
var xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); xmlhttp.Open("POST", "http://servername/customers/cusinfo.asp", false);
xmlhttp.Send(xmldoc); return xmlhttp.responseXML;
} I fear this may involve loading the MSXML3.DLL and then having to deal with 16 to 32 bit address thunking. Thanks for any help. Jim Weir </QUOTE> —- === At 06 NOV 2001 03:14AM The Sprezzatura Group wrote: === <QUOTE>It would seem that this ought to be possible using the Scripting technology built into OI 3.7.4+. This operates by executing external scripts such as this and seems an ideal candidate for the job. Probably a Works side posting would elicit a direct RevSoft response on this. I know that we have a fully featured socket toolset allowing all manner of web communications via sockets but it might be overkill for this task. (Ours does work with AREV however ). The Sprezzatura Group World Leaders in all things RevSoft
</QUOTE> —- === At 06 NOV 2001 10:13AM Jim Weir wrote: === <QUOTE>Thanks Sprezz. We will upgrade our OI to the current version and have a go at external Javascripting. Jim </QUOTE> View this thread on the forum...