A beta release of php-ssrs, a PHP SOAP client for Sql Reporting Services, that I helped write with Ideal Websites is now available for download.
Grab a copy of it from the Google Code project page here: php-ssrs
The QuickStart guide should be all you need to get going, there are also more detailed samples available in the download. Getting a rendered report is made real easy, just take a look at the sample below:
1 2 3 4 5 6 7 8 9 10 11 12 13 | $options = array( 'username' => 'testing', 'password' => 'password' ); $ssrs = new SSRS_Report('http://localhost/reportserver/', $options); $result = $ssrs->loadReport('/Reports/Reference_Report'); $ssrs->setSessionId($result->executionInfo->ExecutionID); $ssrs->setExecutionParameters(new SSRS_Object_ExecutionParameters($result->executionInfo->Parameters)); $output = $ssrs->render('HTML4.0'); // PDF | XML | CSV echo $output; |