Wednesday, 21 April 2010

Web Service to run reports

NextReports Designer uses a web service to publish / download reports to a NextReports server.

To integrate reports in a proprietary  application where we want to generate some reports with specific parameters from that application, we created a new report web service.

This will allow for a very simple integration with a NextReports server :

RunReportMetaData runReportMetaData = new RunReportMetaData();


Map parametersValues = new HashMap();
parametersValues.put("Id", 2);

try {
    String url = webService.runReport(runReportMetaData);
} catch (WebServiceException e) {          

No comments:

Post a Comment