Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Web Service Data Source (BIRT)"
(New page: {{Backlink|Report Developer Examples (BIRT)}} This example is [https://bugs.eclipse.org/bugs/show_bug.cgi?id=190897 Bugzilla ID 190897]. If you would like to contribute an example see the...) |
(→Description) |
||
Line 16: | Line 16: | ||
SOAP request to a data set parameter use the | SOAP request to a data set parameter use the | ||
&?symbol?& | &?symbol?& | ||
− | + | syntax, where symbol is the name of the data set parameter. In the data set editor this parameter can be linked to a | |
report parameter. In this example symbol is linked to the report parameter Ticker. | report parameter. In this example symbol is linked to the report parameter Ticker. | ||
+ | |||
+ | Once the response is returned, it is parsed just like the XML data source using XPath syntax. | ||
== Comments == | == Comments == |
Revision as of 17:05, 4 June 2007
< To: Report Developer Examples (BIRT)
This example is Bugzilla ID 190897. If you would like to contribute an example see the example contribution guidelines.
Introduction
This example illustrates using the Web Service Data Source in a report.
BIRT Version Compatibility
This example was built and tested with BIRT 2.2 RC0.
Example Files
Description
This example access a delayed stock quote web service from http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl.
The above URL is entered in the data source WSDL URL property. The data set is set to the getQuote Method. The default SOAP request template generated by the driver supplies one data set parameter for the stock symbol. It is important to remember any part of the SOAP request can be modified. To link a portion of the SOAP request to a data set parameter use the
&?symbol?&
syntax, where symbol is the name of the data set parameter. In the data set editor this parameter can be linked to a report parameter. In this example symbol is linked to the report parameter Ticker.
Once the response is returned, it is parsed just like the XML data source using XPath syntax.
Comments
Please enter comments below by selecting the edit icon to the right. You will need a Bugzilla account to add comments.