Jump to content
We've recently updated our Privacy Statement, available here ×

How to get JasperServer Datasource for SubReport using Java


Venkat Pendam

Recommended Posts

Hi,

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

Thanks,

Venkat 

 

 

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...