MyEclipse Chart Tools Birt Tips (iii)--connecting WebService data sources

Source: Internet
Author: User
Tags soap

Web Services Technology is a set of standards. It defines how an application can interoperate on the web.

Users are able to use whatever language they are in. Write Web Services under a different platform. These services are then registered, queried, and interviewed through the standards of Web services.


Birt is a convenient way to help users access SOAP-based web Services and use SOAP responses as data to generate reports.


This article describes how to use Birt 2.3.0 to create a Web services data source.

In the MyEclipse. We can apply the Birt report plug-in by creating a new reports Web project item.

After the project is created, we create a new report file, choosing how to generate it (often using XLS and HTML) and how the data is presented. Click Finish to build a JSP file and a. rptdesign file. The JSP is mainly responsible for URL jump, rptdesign file is the definition of the report. We can directly configure the data source, data collection and drag-and-drop display text box under Layout, the above basic operation does not do too much explanation, the focus is on the configuration of the WebService data source. I also studied for a long time to be clear.

First choose the data source to create the Web service:


Configure the appropriate interface URL information for the webservice. The URL must be valid here. You use it to get the data after the operation. We can click on the page test to see if it is connected:


To apply a data source to pull data in a data set:


Select an operation method under the interface in detail, and then next:


Assuming that the interface needs to request a number of parameters, there will be a corresponding list of references, select it.

The selected number of references appears in the following SOAP messages:


This is the SOAP request message generated by the system itself. Generally we do not need to make changes, the next step:


The most critical step here is to choose how the SOAP response results are handled, assuming that there is no data at the end, which is mostly problematic:


Set the path and format of the parsing XML file to be processed:


Select the relational mappings for the generated objects:


Assuming there is no problem with the test, it means that the data has been pulled, and the rest of the operation is the same as described earlier. We are able to fully tune the interface to generate the data graph we want.

The reference information can be downloaded from my resources.

MyEclipse Chart Tools Birt Tips (iii)--connecting WebService data sources

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.