Example for Subreport Using Web Service

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

Can someone post a working example of how to define a subreport using web service as the datasource?

I am reading this:


Under the section "SubReport and Additional Datasets", I need to cater the scenario for (2):

you have a main resultset that you wish to loop, and for each row you want to execute a new query (webservice call)

In the subreport configuration (or the dataset) specify not to use any connection at all (leave blank both the connection expression and the datasource expression. The only thing we'll have to do is passing some mandatory parameters for internal webservice datasource to work properly :

  •     uriKeyauth
  •     TypeKey
  •     authParametersKey
  •     languageKey
  •     verbKey

I am not able to understand what to do here based on the above statements. These parameters are defined in the web service subreport. Am I supposed to pass them back to the main report? If so how am I supposed to do it in Jaspersoft Studio? I am using version 6.2.


skwong's picture
Joined: Mar 6 2016 - 8:41pm
Last seen: 5 years 5 months ago

Reading the source code for the web service data adapter, it seems that the documentation is incorrect:

uriKeyauth should be uriKey

TypeKey should be authTypeKey



skwong - 6 years 3 months ago

0 Answers:

No answers yet