Jump to: navigation, search

Difference between revisions of "Web Service Data Source (BIRT)"

(Description)
(Comments)
 
Line 29: Line 29:
 
It appears that the web service that this report uses is no longer available.
 
It appears that the web service that this report uses is no longer available.
  
 +
___
 +
 +
Changed the report to use a new web service.
 
[[Category:BIRT]]
 
[[Category:BIRT]]
 
[[Category:BIRT Example]]
 
[[Category:BIRT Example]]
 
[[Category:BIRT Example Report]]
 
[[Category:BIRT Example Report]]

Latest revision as of 15:04, 25 April 2008

< 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

Example Report Zipped

Description

This example accesses a city locator from zip code web service located here: http://www.webservicex.net/uszip.asmx?WSDL.

The above URL is entered in the data source WSDL URL property. The data set is set to the getInfoByZIP Method. The default SOAP request template generated by the driver supplies one data set parameter for the zip code. 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 zipcode.

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.


It appears that the web service that this report uses is no longer available.

___

Changed the report to use a new web service.