Aspose Doc format from PHP webservice

Hi,

The Aspose.words plugin for Doc , rtf formats works well from jasper Server with latest version.

Our PHP application uses Jasper reports via REST webservice. The new formats when given as ‘doc’ or ‘aw_doc’ or ‘awdoc’ gives error from jasper server - 'webservices.error.errorExportingReportUnitExportformat awdoc not supported or misconfigured’

Any help regarding this issue would be of great help.

Thanks in Advance.

Hi Spurthi,

Thanks for your inquiry. It would be great if you please share some more detail about your scenario. We have not yet tested our components with PHP application using Jasper Reports via REST Web Services.

Please read the following article that explains how to integrate the exporter.
https://docs.aspose.com/words/jasperreports/installation/

Moreover, 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).

Moreover, please read following article for your kind reference.

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):

  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 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.

System Requirements

Aspose.Words for JasperReports requires the following
software to run:

  • Java 2 Platform
    Standard Edition 5.0 or higher
  • JasperReports 3.7.1 or
    higher (tested with 3.7.1 … 5.5.0)
  • JasperServer 3.7.1 or
    higher (if you want to use Aspose.Words for JasperReports with
    JasperServer)

Hello Tahir Manzoor,

Thank you for the reply. I rechecked all the points with your reply.

The jasperserver-ws-sample also works fine for new formats. I think some additional configuration is needed for these formats to be supported via REST service.

It would be great if you can update that as well. For Jasper reports web service please check Jasper Wrapper for PHP here http://community.jaspersoft.com/wiki/php-client-sample-code

Thank you very much

Hi Spurthi,

Thanks for your inquiry.

I have logged a new ticket in our issue tracking system as WORDSJSP-139 to investigate the usage of Aspose.Words for Jasper Reports via REST web-service. Your request has also been linked to this issue and you will be notified as soon as it is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSJSP-139) have been fixed in this Aspose.Words for JasperReports update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.