Issue:
[toc on_off::hide=1]
I would like to be able to pull the contents of the schema xml file from JasperReports Server using Web service. How do I do that?
Resolution:
The following is an example (code snippets) about pulling the XML content from the JasperReports Server:
// After you have obtained the WSClient
ResourceDescriptor rd = new ResourceDescriptor();
rd.setUriString("/organizations/organization_1/analysis/schemas/FoodmartSchema");
wsClient.get(rd, new File("c:/schemas/SchemaA.xml");
Particularly, the wsClient.get() takes the second argument as a java.io.File that it actually outputs the content to.
Ref. Case #00020309 -- 02:24, 1 June 2011 (UTC)
Recommended Comments
There are no comments to display.