How to pass xmldata to jasperserver using restful PUT or POST method?
I'm newbie to this jasper server. And I have some question here.
- Is it possible to post xmlData Parameter for jasperserver to build report from those specify data without generating xml file into jasper's repository.
Like I POST these to http://aloha.server:8080/jasperserver/rest_v2/reports/reports/samplereport
<sample> <entry> <id>01</id> <name>mickymouse</name> </entry> <entry> <id>02</id> <name>groofy</name> </entry> <entry> <id>02</id> <name>dduck</name> </entry> </sample>
And jasper would response me with report which show records same as above.
Thanks in advance :D
2 Answers:
If I understand this correctly the XML you want to "POST" is the one you want to use as a datasource. So what you are looking for is not to POST and XML to Jasperserver but how can a report use a remote XML datasource, if that is the case check this sample http://community.jaspersoft.com/wiki/remote-xml-datasource
Updated the link... Now is working