codyjasperForge Posted October 17, 2007 Share Posted October 17, 2007 Are there any samples showing the steps taken to run the report scheduler (programmatically)? Does anyone have advice on what is needed to schedule a job? Thanks is advance. Link to comment Share on other sites More sharing options...
lucianc Posted October 17, 2007 Share Posted October 17, 2007 How do you plan to connect your application to JasperServer? This would normally be done via web services, but the scheduling web service will only be included in the next release. An alternative at this moment would be to employ the export/import tool by generating job XMLs and using the tool to import in into the JS db. Regards,Lucian Link to comment Share on other sites More sharing options...
codyjasperForge Posted October 17, 2007 Author Share Posted October 17, 2007 ...the scheduling web service will only be included in the next release....employ the export/import tool by generating job XMLs and using the tool to import in into the JS db The idea was to use a scheduling web service... When you say 'job XMLs', what are you referring to? - xml formatted job requests? I'm not sure where your coming from. Thanks. Link to comment Share on other sites More sharing options...
lucianc Posted October 17, 2007 Share Posted October 17, 2007 codyjasperForge wrote:The idea was to use a scheduling web service... That's a good idea, but you'll have to wait for the next (2.1) JS release. When you say 'job XMLs', what are you referring to? The import/export tool serializes/deserializes Java domain objects to/from XML. Your application could produce compatible XML files that would be used as input for the import tool. Regards,Lucian Link to comment Share on other sites More sharing options...
codyjasperForge Posted November 12, 2007 Author Share Posted November 12, 2007 What java domain objects would I need to create/serialize to export a job to the import tool? Are there any examples of this??---------------------------------------- Are there ANY other examples of how to implement a report job from a web app? I really need some direction as to what classes/interfaces are required to achieve this. I could really use some help... Thanks in advance... :huh:Post edited by: codyjasperForge, at: 2007/11/12 19:49 Link to comment Share on other sites More sharing options...
lucianc Posted November 13, 2007 Share Posted November 13, 2007 JasperServer 2.1 has just been released, and it includes a report scheduling web service. The web services are the recommended mechanisms of integrating JS with other applications; the import/export tool was not meant to used for such purposes. The 2.1 distribution (e.g. the bin package) includes a samples directory that contains sample JS web services client code. You can take a look, for instance, at the java-webapp-sample application to see how to manage report jobs via the web service. Regards,Lucian Link to comment Share on other sites More sharing options...
codyjasperForge Posted November 13, 2007 Author Share Posted November 13, 2007 Oh thank goodness, You guys have saved me more hassle than you could realize. I am anxious to test this new feature out. Thank you once again Lucianc. 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