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):
-
Install Aspose.Words for JasperReports.
-
Install jasperserver-ws-sample
application from \samples\java-webapp-sample
-
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
-
Modify jasperserver/WEB-INF/applicationContext-web-services.xml
as described above in this document
-
Stop/Start
Jasper Server
-
Run http://localhost:8080/jasperserver-ws-sample
-
Browse to Reports,
then Samples and then select some
report, say “Employees”
-
In “Export
format” drop-down box select “XXX
via Aspose.Words”, where XXX is desired output format
-
Press [Run the
Report] button
-
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)