The problem is I always get a blank report when trying to set the xml/schema path from the php file, but not when I call the URLs directly from flash.
When using the URLs to the xml/schema from inside the report
Code: Select all
True
True
When using the same URLs from database_xml.php, with
Code: Select all
False
False
Code: Select all
function sti_xml_get_columns($data_path, $schema_path)
{
$data = file_get_contents("http://www.mydomain.com/xml/testXml.xsd");
return $data;
}
function sti_xml_get_data($data_path, $schema_path)
{
$data = file_get_contents("http://www.mydomain.com/xml/testXml.php?myId=1001"); // myId will be dynamic but for testing it is hand coded here
return $data;
}
I get a blank result.
Any ideas?