europe72 Posted July 23, 2009 Share Posted July 23, 2009 Hello and thanks in advance for any reply or attention to this thread.I am perusing through iReport's jasperserver plugin code - which utilizes Jasper Server's Web Service API - in order to familiarize myself with how to runReports from WSClients connecting to Jasper Server. In doing so, in ReportRunner.java I have found a call to runReport:JasperPrint print = getServer().getWSClient().runReport(getReportUnit().getDescriptor() , params);My question at this point though is how is it that I create a RepositoryReportUnit obj from which I can obtain a ResourceDescriptor? I envisioned being able to pass in a String [path] or URI to the ReportUnit constructor, but there is no such API.Thanks! Link to comment Share on other sites More sharing options...
shehzadaslam Posted July 30, 2009 Share Posted July 30, 2009 Can you tell me which class the getServer() method belongs? I am also trying to call report from jasper webservice. Thanks. Link to comment Share on other sites More sharing options...
lucianc Posted July 31, 2009 Share Posted July 31, 2009 JasperServer comes with a sample Java web application that uses the JS web services to list and run reports. That application is the best starting point for writing a JS web services client.Regards,LucianPS: Please post any further topics related to JasperServer on the JasperServer forum. 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