>lcXML = lxmlObj.Open("submitRealtimeRequest", TextRequestMessage) >No, it's not the correct way (I'm assuming this is a SOAP call). The actual usage of XMLHTTP is usually:
DECLARE Sleep IN WIN32API ; INTEGER nMillisecs lcURL = "http://www.127.0.0.1/SomePage.asmx/MethodName" && Fill in with your info loXML = CREATEOBJECT("MSXML2.XMLHTTP") loXML.open("POST", lcURL) lcSOAP = "SOAP message here" loXML.send(lcSOAP) DO WHILE loXML.readyState < 4 Sleep(100) * Add code for timeout here... ENDDO IF loXML.readyState = 4 * Parse response lcResponse = loXML.responseText ENDIFBuilding the soap message is actually a major pain. It seems every platform implements this slightly differently and it usually takes alot of messing around with the format to get it right.