SAP BO Rest 服务调用没有 return 打开文档 url

SAP BO Rest service call doesn't return opendocument url

在我构建的用于通过打开文档显示 BO 报告的应用程序中,BO 服务器在执行 REST 服务调用时似乎不响应 opendocument url。您能否提供任何线索说明原因?

在开发环境中,在响应下方的 http header returns 中使用登录令牌对 "http://server/biprws/infostore/<doc_id>" 进行休息服务调用(最后一行您应该看到 link 以打开文档对于该报告)

回应

<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&amp;iDocID=<doc_id>" rel="http://www.sap.com/rws/bip#opendocument" title="OpenDocument" />
</entry>

但是当我对 QA 环境进行相同的调用时,未返回打开的文档 url(xml 响应中的最后一行)。我缺少任何配置吗?

注意:为了安全起见,我在 xml 中替换了几个 link 和文本。

我通过重新启动 Apache Web 服务器解决了这个问题,SAP BO 服务器软件在其中托管其 Web 服务以及 SAP Bo 服务器软件本身。这使更改生效并正确应用了设置。