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.