WORDSJSP-121 : needed configuration for "Using Aspose exporters with the Web Services of Jasper Report Server"

Hello, I am strongly interested
by the improvement WORDSJSP-121 (Using Aspose exporters with the Web Services
of Jasper Report Server). I would like to export a DOCX file (OOXML file) with
the ASPOSE.WORD plugin for jasperreports, using the rest_v2 webservice. Could
you please tell me how to configure Jasperserver ( the
applicationContext-web-services.xml file I guess)? Thank you

This message was posted using Email2Forum by Tahir Manzoor.

Hi Alexandre,

Thanks for your inquiry.

Aspose.Words for JasperReports
provides a number of parameters that affect the resulting Microsoft
Word document’s appearance. There are two ways of setting these
parameters’ values, depending on whether you export reports from
JasperReports or JasperServer (either directly or using Web Services).

Please read following article for your kind reference. We will add this article in Aspose.Words for JasperReports documentation soon.

Using Web Services

Aspose.Words for JasperReports v2.1.0 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):

  1. Install Aspose.Words for JasperReports

  2. Install jasperserver-ws-sample
    application from \samples\java-webapp-sample

  3. 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 here (See step 5b).

  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.

Hello,

You said in step 4 “as described above in this document”. Please tell me in which document?

Thanks

Hi Alexandre,

Please accept my apologies for your inconvenience.

Thanks for your inquiry. Please check the step 5b from here:
https://docs.aspose.com/words/jasperreports/installation/