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....