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
- Localize your Jaspersoft Studio Installation directory. We'll reference it as [JSS_DIR] from now on
- Open the folder [WS_DS_DIR]\JSS
- Copy the jar files in this folder
- Open the folder [JSS_DIR]\plugins
- 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
- Localize your JasperReports Server web application folder. We'll reference it as [JRS_DIR] from now on
- Open the folder [WS_DS_DIR]\JRS\WEB-INF
- Copy all the folder's content
- Stop your web server running JasperReports Server
- Open the folder [JRS_DIR]\WEB-INF
- Backup this folder before executing next step! (this is not mandatory, but recommended)
- paste the previously copied files. Please note that it is not supposed to override any existing file.
- (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
- 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:
- Localize your Jaspersoft Studio Installation directory. We'll reference it as [JSS_DIR] from now on
- Open the folder [WS_DS_DIR]\JSS
- Copy the jar files in this folder
- Open the folder [JSS_DIR]\dropins
- paste the previously copied jars
- restart Jaspersoft Studio
Log in or register to post comments
Comments
API call
Is this webservice datasource plugin accessible through API calls? I did not find any relevant documentation so I assumed no. Thanks.
Log in or register to post comments
Not working
Not working on Jasperstudio 6.15. I'm using Linux.
Log in or register to post comments
Also fails in Studio 6.16
Confirmed the studio plugin no longer works in latest versions. Is a "1.6" version of this extension in the works for compatibility with latest version of Studio?
Currently getting:
...Receiver class com.jaspersoft.studio.data.webservice.WebServiceDescriptor does not define or inherit an implementation of the resolved method 'abstract boolean supportsGetFieldsOperation
...
Log in or register to post comments
Fail since v6.13 and more
I'confirm same problem : Error on "Read Fields" and "Loading Json Data" with "Get Server Response" since Jaspersoft Studio 6.13
Log in or register to post comments