【发布时间】:2013-04-05 10:57:03
【问题描述】:
我想在 JasperReports 服务器上上传/更新报告模板 JRXML 文件。
官方文档没有包含更新报告模板的最小示例 通过 JasperReports Server REST API 上传/更新报告模板 xml 的原始请求是什么?
我尝试运行 JasperServer java 测试(使用 maven):http://code.jaspersoft.com/svn/repos/jasperserver/ 但我做不到。有很多错误。
然后我找到了在 Jasper 服务器资源中更新图像的示例测试: http://community.jaspersoft.com/wiki/getting-started-rest-web-service-api 有效!
我写了更新 JRXML 文件的请求
这是我的原始请求 https://gist.github.com/anonymous/b2dd458868243b37c795
这里是回复 https://gist.github.com/anonymous/916f09199103665b97c0
我在请求中做错了什么?
【问题讨论】:
-
抱歉文中有错误。我来自俄罗斯
标签: post jasperserver