ncheruku Posted September 2, 2009 Share Posted September 2, 2009 Hi,I do have a requirement where I need to get the whole folder as a list object in which it has the child folders and in turn has reports under each folder which has the following directory structure.I have gone through the webservices guide and it says that we can attach one resource descriptor for one request.For the one resource descriptor can I add the children in this way and extract it..Please do let me know if this is the correct way as I need to get all the folders as well as the reports in the folder at a time through single request.......Can I use the list method for this purpose...For Example: FolderA FolderAa FolderAx report1 report2 report3 FolderAy report1 report2 report3 FolderAb report1 report2 Link to comment Share on other sites More sharing options...
ncheruku Posted September 2, 2009 Author Share Posted September 2, 2009 Hi, When I am trying to access the folder using the jServer.getWSClient().list(rd) I do get only the sub folders names listed in the folder but not the reports under those sub folders.Can anybody please help me out... Link to comment Share on other sites More sharing options...
lucianc Posted September 2, 2009 Share Posted September 2, 2009 chinna002Wrote: Hi, When I am trying to access the folder using the jServer.getWSClient().list(rd) I do get only the sub folders names listed in the folder but not the reports under those sub folders.Can anybody please help me out... You need to call list for each subfolder to get the list of resource in it. There is no recursive list operation in the JasperServer web services.Regards,Lucian Link to comment Share on other sites More sharing options...
ncheruku Posted September 2, 2009 Author Share Posted September 2, 2009 Thanks Lucian for the Quick response.So according to you it would be best if I make a list call to each subfolder and after I put them back in list right...Can you please clarify this to me... Link to comment Share on other sites More sharing options...
lucianc Posted September 4, 2009 Share Posted September 4, 2009 chinna002Wrote: Thanks Lucian for the Quick response.So according to you it would be best if I make a list call to each subfolder and after I put them back in list right...Can you please clarify this to me... Yes, listing each subfolder individually is the only solution.Regards,Lucian 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