Hi,
I want to get data from a remote database.
Have created an asp file that when run outputs XML in the following format
How do I get the data above back from the server?
Do I have to run the ASP file and save it as XML file on the remote server and then read the XML file?
Cant I run the file and get the result without saving a file 1st?
I am trying to use the following code to retrieve the file
but doesnt work
I want to get data from a remote database.
Have created an asp file that when run outputs XML in the following format
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
- <car>
<vehicleidK>12345</vehicleidK>
<registrationnumberK>REG</registrationnumberK>
<descriptionK>Astra 5Dr HAT 1.6i VVT SXi</descriptionK>
<motduedateK>2008-9-14</motduedateK>
<nextservicedateK>2009-1-1</nextservicedateK>
<lastknownmileageK>25773</lastknownmileageK>
<aftersalesbranchK>001</aftersalesbranchK>
<servhistory>Historyservhistory>
</car>
How do I get the data above back from the server?
Do I have to run the ASP file and save it as XML file on the remote server and then read the XML file?
Cant I run the file and get the result without saving a file 1st?
I am trying to use the following code to retrieve the file
but doesnt work
Code:
set xml = Server.CreateObject("Microsoft.XMLDOM")
xml.async = false
xml.load(Server.MapPath("carlookup.asp?reg=" & x_reg))