I just need to make the call. http://ift.tt/1s8xr4s
I want to use that, within a web page, to run a query and return the data, something like this:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://ift.tt/sVJIaE" xmlns:ns1="http://ift.tt/145pXEe">
<SOAP-ENV:Body>`enter code here`
<ns1:SimpleGenericQueryCSV>
<ns1:Token>INSERT YOUR TOKEN HERE</ns1:Token>
<ns1:sqlQuery>select * from stockitem where blogicaldelete = '1'</ns1:sqlQuery>
</ns1:SimpleGenericQueryCSV>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
But what do I do?
I've tried making an xml file and doing something like this:
<?php
$xml = simplexml_load_file("/lookup.xml");
echo "result: ".$xml
?>
But I get a blank, any ideas? What is the correct way?
No comments:
Post a Comment