joshabts Posted January 7, 2012 Share Posted January 7, 2012 Hi,I am looking for a way to be able to pass which datasource I want to use as a parameter when I call runReport from the SOAP interface. I have two databases, one is for my development and one is for production and I have a config file where I would specify what datasource to use (ideally, the URI of it).I have tried doing it as a REPORT_DATA_SOURCE parameter but then I get an error saying I can't cast a String to a JRDataSource.Is there a straightforward way of doing this that I am just missing or does anyone have any suggestions on how to handle this? I did see a note about using a remote xml file as a datasource, which I could possibly do, but I was just hoping to keep everything internal to JasperReports Server and use the repository it provides.Thanks for any help in advance,Josh Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now