jasperserver - HTTP Request POST.Upload JRXML file via JaspeReports Server -
i want upload/update report template jrxml file on jasperreports server.
the official documentation doesn't contain minimal example updating report template raw request uploads/updates report template xml via jasperreports server rest api?
i tried run jasperserver java tests(using maven): http://code.jaspersoft.com/svn/repos/jasperserver/ couldn't. there many errors.
then found sample test updating image in jasper server resources: http://community.jaspersoft.com/wiki/getting-started-rest-web-service-api works!
i wrote request update jrxml file
here raw request https://gist.github.com/anonymous/b2dd458868243b37c795
here response https://gist.github.com/anonymous/916f09199103665b97c0
what doing wrong in request?
i found solution.the resource descriptor in request must reportunit, not а resource descriptor of jrxml file!!!
Comments
Post a Comment