How to get JasperServer Datasource for SubReport using Java



      I have subreport which is having another database connection. So, i was created  the datasource connection in jasperserver datasources folder.

so i have created the java function which reads datasource from jasperserver and returns the jdbc connection.

For this jdbc connection, i was used WSClient object to get the datasource details but which needs server url, username and password and the java scriptlet jar was placed in jasperserver.

How can i use the same datasource inside java code without using WsClient object and how can i get the RepositoryService interface object.

What are the configuration changes required for this.....?

I need a solution to get the datasource details without passing any credentials....and url information.

Can u please help me on this issue....






Venkat Pendam's picture
Joined: Jan 3 2014 - 6:31pm
Last seen: 7 years 3 months ago

0 Answers:

No answers yet