Installing the Webservice Datasource

This page contains step by step instructions to install the WebService Datasource in TIBCO JasperReports® Server and  TIBCO Jaspersoft® Studio.

For additional information on this project please refer to the Project Home Page.

Download WebService Datasource

Extract the zip downloaded from the Project's Release Area.
Update: using version 1.5 on JasperReports® Server v6.4, only the zip Jaspersoft Web Service Data Source v1.5 was needed in the following steps

The unzipped folder will be referenced as [WS_DS_DIR] from now on.


Install TIBCO Jaspersoft Studio Plugin

  1. Localize your Jaspersoft Studio Installation directory. We'll reference it as [JSS_DIR] from now on
  2. Open the folder [WS_DS_DIR]\JSS
  3. Copy the jar files in this folder
  4. Open the folder [JSS_DIR]\plugins
  5. paste the previously copied jars

(The above didn't work with standalone Jaspersoft Studio 6.4.0 and 6.5.1 on windows 10. What did work was putting the jar files into [JSS_DIR]\dropins\eclipse\plugins as per this stackoverflow self answered question )


Install in TIBCO JasperReports Server

  1. Localize your JasperReports Server web application folder. We'll reference it as [JRS_DIR] from now on
  2. Open the folder [WS_DS_DIR]\JRS\WEB-INF
  3. Copy all the folder's content
  4. Stop your web server running JasperReports Server
  5. Open the folder [JRS_DIR]\WEB-INF
  6. Backup this folder before executing next step!  (this is not mandatory, but recommended)
  7. paste the previously copied files. Please note that it is not supposed to override any existing file.
  8. (This step is required only for Community Edition):
    • open the file [JRS_DIR]\WEB-INF\applicationContext-WebServiceDataSource.xml
    • Go to line 49 of the xml file, inside the bean addQueryLanguage change the property beanName from queryLanguagesPro to queryLanguagesCe
  9. Start your web server running JRS

Import Samples in TIBCO JasperReports Server repository

Note: I found that the Jaspersoft Studio instructions above did not work for me (version 6.4.3).  

As mentioned in this Stack Overflow article (https://stackoverflow.com/questions/42116973/enable-jasper-studio-webser...), one way to get this to work is to add the three .jar files from /jrs into the jaspersoftstudio/dropins folder instead.  In my case, I had also installed the ElasticJasper plugin (/blog/elasticsearch-and-jasper-reports-finally-together) and I had to uninstall that plugin completely before I was able to get the Web Service adapter to show. 

So, the alternate instructions are:

  1. Localize your Jaspersoft Studio Installation directory. We'll reference it as [JSS_DIR] from now on
  2. Open the folder [WS_DS_DIR]\JSS
  3. Copy the jar files in this folder
  4. Open the folder [JSS_DIR]\dropins
  5. paste the previously copied jars
  6. restart Jaspersoft Studio

 

Comments

Is this webservice datasource plugin accessible through API calls?  I did not find any relevant documentation so I assumed no. Thanks.

Feedback
randomness