kozy Posted February 24, 2011 Share Posted February 24, 2011 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 More sharing options...
baggypants Posted February 25, 2011 Share Posted February 25, 2011 Have you read this? http://jasperforge.org/espdocs/docsbrowse.php?id=74&type=docs&group_id=112&fid=305 Link to comment Share on other sites More sharing options...
ernestoo Posted February 25, 2011 Share Posted February 25, 2011 Also, did you see the complete php SOAP example incldued in (install dir)/samples/php-sample? Link to comment Share on other sites More sharing options...
geoffroycochard Posted March 3, 2011 Share Posted March 3, 2011 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 More sharing options...
ernestoo Posted March 3, 2011 Share Posted March 3, 2011 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 More sharing options...
kozy Posted March 4, 2011 Author Share Posted March 4, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now