Jump to content
Changes to the Jaspersoft community edition download ×
  • Installing the Webservice Datasource


    gnatali
    • Features: Ad Hoc, Cache, Charts, Custom Data Sources, Dashboards, Data Sources, Domains, Exporters, Filters, Input Controls, JasperReports Server, Localization, Logging, Maps, Parameters, Reports, Repository, Scheduler, URLs, User Authorization, User Interface, Vertica, Web Services Version: v0.9 Product: JasperMobile SDK for Android

    This page contains step by step instructions to install the WebService Datasource in JasperReports® Server and  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 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]dropinseclipseplugins as per this stackoverflow self answered question )


    Install in 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]JRSWEB-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-INFapplicationContext-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 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-webservice-plugin), 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

     


    User Feedback

    Recommended Comments

    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

    ...

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...