Web Service for Class Datasets

  • Last update:August 06, 2026
  • Overview

    When using a web service as a data source for your project, you may want reports to directly call the web service instead of defining a data connection to use the corresponding database table. This document describes how to implement this.

    You can use the Java program to access the web service, convert the data returned by the web service into a class dataset, and then use the dataset in the designer.

    Index

    This document uses web services on Axis as an example to describe how to retrieve data from web services deployed on Axis 1.4 and Axis 2 and convert the data into a class dataset in FineReport.

    In an Axis 1.4 project, publish a web service from a JWS file. Then use Java code to send a Simple Object Access Protocol (SOAP) request to the web service and retrieve the data. For details, see JWS Web Service for Class Datasets.

    Write a Java class to retrieve data through a JDBC connection in the Axis2 project. For details, see JDBC-based Web Service for Class Datasets.

    Attachment List


    Theme: Secondary Development
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy