spierepf Posted June 18, 2012 Share Posted June 18, 2012 Greetings,I'm looking for some working source code for creating and modifying resources in a JRS repository; I've read through the documentation and I'm finding it very dense. I'm using Ruby's rest-client library.Any suggestions? Peter. Link to comment Share on other sites More sharing options...
Ching Ice-creaming Posted June 18, 2012 Share Posted June 18, 2012 Peter,Before I made my open source pet project https://code.google.com/p/jasperclient/ ,I learned JasperServer RESTful APIs examples from its sources: /jasperserver/jasperserver-rest/src/main/java/com/jaspersoft/jasperserver/rest/test and its official guide, JasperReports-Server-Web-Services-Guide.pdfI study JSP to make my RESTful client, sorry I don't know Ruby language.ChingPost Edited by icecreaming at 2012-06-19 11:10 Link to comment Share on other sites More sharing options...
spierepf Posted June 19, 2012 Author Share Posted June 19, 2012 Hello icecreaming,Thanks for your source code. I'm just not seeing where you use REST to contact the JRS to create or modify resources.Cheers,Peter. Post Edited by spierepf at 06/19/2012 13:19 Link to comment Share on other sites More sharing options...
Ching Ice-creaming Posted June 19, 2012 Share Posted June 19, 2012 Peter,I meant that I studied from the sources of JRS, (JRS is equal to JasperReports Server ,isn't it ?):For more detail, I read their sources from:/jasperserver-rest/src/main/java/com/jaspersoft/jasperserver/rest/test/PUTTest.java/jasperserver/jasperserver-rest/src/main/java/com/jaspersoft/jasperserver/rest/test/resourcesTheir official examples have already included creation, modification and deletion of ResourceDescriptors.Hope that they can help you. ChingPS: Actually I have programming skill problems too, I am asking how to make a good performance directory tree by RESTful APIs like their JRS and iReport. (Question 2: recursive folders of http://code.google.com/p/jasperclient/wiki/Problems#Problems).Post Edited by icecreaming at 2012-06-20 18:21 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