Jump to content
We've recently updated our Privacy Statement, available here ×

PHP + SOAP client + JasperReports Server 4.0 - Need help implementing


kozy

Recommended Posts

Greetings,

i am new to JasperReports Server. My boss wants me to implement jasper reports into my PHP page. I have only done PDF generation using TCPDF and FPDF with PHP.  We use jasper reports at work with our java applications and we want to hav the same reports accassible from the web.

I am also new to SOAP so i am a bit "confused" and probobly just dont know where to start. I know what SOAP shoul be, i have done a test imeplementation but i cannot get it to work, even with test samples i have found on the web. I am trying to get the test samples included with jasperReports server to work, then i will work on the real reports.

Can anyone give me any hints, maybe a working example of SOAP client/server writen in php that will work with JasperReport server? I am using CodeIgniter framework with php to build the web page.

For production I use a DB2 database.

with regards,

Marko

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

 Hie,

I've just dowloading src package and in [install-dir]/samples/php-sample, there's webservice php sample.

One month ago, i've implementing that in Symfony application like plugin. Take a look at attachment if can help you or another.

Be carreful, i did not success manage "cascading input control"... If you've solution, i would be great!

Geoffroy

Link to comment
Share on other sites

 Great, thanks for the contribution. You might want to start a seprate project on this Forge with the code. Also btw, the php-sample was not working with php5 so I updated it, should be out with the next release of JasperReports Server, post if you need it sooner.

Link to comment
Share on other sites

Greetings,

thank you for your replys. I got it working for a simple report but with all the trouble i had encountered ( custom fonts, images, changing XMLs for repo:XXX links ... ), I decided it was faster to write a small java app that a php script runs ( got all that working for any report with subreports ... in 2 hours ).

The app takes care of everything and it is "same" code as the one in our business application. So  there is no need to have reports in reposatory, fonts, images...

Thank you anyway for the help, i will try to work some more on this in my spare time.

with regards,

Marko

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...