Aspose.Words

Using Web Services

As of v2.0.0 Aspose.Words for JasperReports can be used with JasperServer Web Services. Here is a description how to do this with JasperServer Web Services sample application (which is included in JasperServer distribution package):

0) Install Aspose.Words for JasperReports as described above in this document

1) Install jasperserver-ws-sample application from <Jasper Server>\samples\java-webapp-sample

2) Replace 2 files inside root folder of this app by those from demo\webservices folder in Aspose.Words for JasperReports distribution package. Note: new code fragments are included between lines containing Aspose.Words for JasperReports START and Aspose.Words for JasperReports END

4) Modify jasperserver/WEB-INF/applicationContext-web-services.xml as described above in this document

5) Stop/Start Jasper Server

6) Run http://localhost:8080/jasperserver-ws-sample

7) Browse to Reports, then Samples and then select some report, say "Employees"

8) In "Export format" drop-down box select "XXX via Aspose.Words", where XXX is desired output format

9) Press [Run the Report] button

10) Report download should start

Certainly it is possible to use any other standard (or your own) client to produce reports from JasperServer Web Services.