Hi all really hoping someone will be able to help me here
I've got some code that will access a webservice and return xml into recordset, this code is in VBScript.
Now, because we are using JScript i need to convert this code to work in the same way. ie into a recordset.
Can anyone help me with this?
this is the code
TIA
Tony
I've got some code that will access a webservice and return xml into recordset, this code is in VBScript.
Now, because we are using JScript i need to convert this code to work in the same way. ie into a recordset.
Can anyone help me with this?
this is the code
Code:
'Fetch the data
set oHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
oHTTP.Open "GET", URL, false
oHTTP.Send
'Load it into the recordset
set oRecordset = Server.CreateObject("ADODB.Recordset")
oRecordset.Open oHTTP.ResponseStream
TIA
Tony