Using REST API

Use Aspose exporters using REST API

Here is a description how to run report using REST API:

  1. Install Aspose.Words for JasperReports.
  2. 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
  3. Stop/Start Jasper Server
  4. Try to run localhost:8080/jasperserver/rest_v2/reports/reports/interactive/CustomersReport.aw_docx (or any other existing report)
  5. Report download should start

Following extensions are available for REST API:

aw_html, aw_doc, aw_docx, aw_odt, aw_rtf and aw_txt.