JasperReports within codeigniter using SOAP and JasperServer Web Services Layer

I just put together a simple application that uses soap to query jasperserver to fetch some reports. I just made some minimal changes to the php-sample code that comes with jasperserver to get it to work in codeigniter framework. Here is my sample code if anyone is interested. Just make sure that you are first able to run the php-sample code that comes with jasperserver (that will ensure that you have the proper dependencies installed, like a SOAP client). Essentially, client.php has become system/application/helpers/jasperserver_helper.php with a few tweaks to global variables and runReport.php, getReport.php and executeReport.php have been bundled into system/application/controllers/reporting.php.

I also created a tmp directory for images from reports and set that in the jasperserver_config.php.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.