Using REST API
Contents[ Hide ]
Aspose.Words for JasperReports (from v2.6.0) can be used with JasperServer REST API (v2).
Use Aspose exporters using REST API
Here is a description how to run report using REST API:
- Install Aspose.Words for JasperReports.
- Modify jasperserver/WEB-INF/applicationContext-remote-services.xml as described here. If it was not previously updated, then modify jasperserver/WEB-INF/applicationContext-web-services.xml as described above in this document
- Stop/Start Jasper Server
- Try to run localhost:8080/jasperserver/rest_v2/reports/reports/interactive/CustomersReport.aw_docx (or any other existing report)
- Report download should start
Following extensions are available for REST API:
aw_html, aw_doc, aw_docx, aw_odt, aw_rtf and aw_txt.