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

joshabts

Members
  • Posts

    1
  • Joined

  • Last visited

joshabts's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. 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
×
×
  • Create New...