Project Wiki
Views

WebServices

From Wiki

Jump to: navigation, search

JasperReports Server Web Services

JasperReports Server has a Web Services interface which allows users to do such things as:

  • load reports into JasperReports Server
  • download reports for editing
  • execute reports for viewing
  • browse, move, copy, and directories and files in the JasperReports Server repository
  • schedule reports
  • set report Locales

The Web Services interface is the same one used by the iReport plugin for JasperReports Server which allows iReport to carry out the above operations.

Sample Clients

The JasperReports Server Release packages come with a number of sample client applications in a few different languages. Additionally, there are a number of JasperForge projects that have added client examples for additional languages.

Web Services client sample code:

  • PHP
  • Java
  • C

JasperForge Project and Forum Bases client examples:

  • .NET
  • Ruby


Sample Client Locations

The JasperReports Server Web Services client sample code can be found in any of the JasperReports Server Release Packages (Installers or War File Distribution zip), or directly from the JasperReports Server source code. Look in the following locations:

  • <js-install>/samples/php-sample
  • <js-install>/samples/java-webapp-sample
  • <js-install>/samples/js-c-client
  • <js-ce-src>/samples
    • find pre-packaged source download info here: download
    • find SVN source download info here: Download


The Best Web Services Resource!

For detailed information on the JasperReports Server Web Services interface there is a PDF format reference document that contains details on the Web Services API. Topics include:

  • Operations in the Repository Service
  • Errors and Implementation Suggestions
  • Report Scheduling Web Service
  • Repository Service API Constants

The JasperReports Server Web Services Guide can be found at the following locations:

  • The JasperReports Server Documentation Zip Package
    • jasperreports-server-<ver>-docs.zip:   Download
  • <js-install>/docs/JasperReports Server-Web-Services-Guide.pdf