在我构建的通过打开文档显示BO报告的应用程序中,BO服务器在执行REST服务调用时似乎不使用opendocument url响应。你能提供任何关于原因的线索吗?
在dev环境中,对"http://server/biprws/infostore/<doc_id>"的rest服务调用带有http头中的登录令牌,返回响应下面的内容(最后一行应该看到该报告打开文档的链接)。
响应
<entry xmlns="http://www.w3.org/2005/Atom">
<author>
<name>Administrator</name>
<uri>http://server/biprws/infostore/12</uri>
</author>
<id>tag:sap.com,2010:bip-rs/<ID></id>
<title type="text">Blah Blah Blah</title>
<updated>Updated_Date</updated>
<link href="http://server/biprws/infostore/<doc_Id>" rel="up" />
<link href="http://server/biprws/infostore/<doc_Id>/scheduleForms" rel="http://www.sap.com/rws/bip#schedule" title="Scheduling forms" />
<content type="application/xml">
<attrs xmlns="http://www.sap.com/rws/bip">
<attr name="id" type="int32"><doc_Id></attr>
<attr name="cuid" type="string"><doc_CUID></attr>
<attr name="description" type="string">Blah Blah Blah</attr>
<attr name="name" type="string">Blah Blah Blah</attr>
<attr name="type" type="string">Webi</attr>
</attrs>
</content>
<link href="http://SERVER/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=<doc_id>" rel="http://www.sap.com/rws/bip#opendocument" title="OpenDocument" />
</entry>但是,当我同样调用QA环境时,不会被返回( xml中的最后一行)。有没有我缺少的配置?
注意:为了安全起见,我替换了xml中的几个链接和文本。
发布于 2017-04-17 19:35:09
我通过重新启动Apache服务器解决了这个问题,SAP BO服务器软件承载了它的web服务,也重新启动了SAP服务器软件本身。这使更改有效,并正确地应用了设置。
https://stackoverflow.com/questions/41706632
复制相似问题