Hi....
We are trying to create a report in jasper server using rest api.
But the report is exporting as simple file insted of .jrxml.
How can we achive this problem?
3 Answers:
I'm not sure if I understant your question correctly, but I assume you are trying to create a report object in the JasperServer Repository our of an existing (or created on the fly) .jrxml file via Web Services.
In that case you need to use the Repository web services to create objects in the repository, in your case it will be a Report Unit, check the Reource Services in the Jaspersoft Web Services Guide
Thanks for quick repsonse.
We are trying to create the report unit as well as report(.jrxml) but we failed to create report unit. Only .jrxml file is uploaded to server. That is why .jrxml file treated as a simple file by jasperserver.
We are using eclipse to develop our web application and java is used for handling the reporting.
Can please give proper explaination for my problem.
Thanks.
Don't know if you still need this or not but just in case others might... here is the link to a page with reasonable discussion on Restv2 and Jasper PHP API.
http://community.jaspersoft.com/wiki/php-client-sample-code