Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SAP BO Rest服务呼叫不';返回OpenDocumentURL_Rest_Sap_Business Objects - Fatal编程技术网

SAP BO Rest服务呼叫不';返回OpenDocumentURL

SAP BO Rest服务呼叫不';返回OpenDocumentURL,rest,sap,business-objects,Rest,Sap,Business Objects,在我正在构建的一个通过opendocument显示BO报告的应用程序中,BO服务器在执行REST服务调用时似乎不会响应OpenDocumentURL。你能提供一些线索说明原因吗 在开发环境中,对的rest服务调用http://server/biprws/infostore/“在http头中带有登录令牌时,返回下面的响应(最后一行您应该看到该报告打开文档的链接) 回应 <entry xmlns="http://www.w3.org/2005/Atom"> <author>

在我正在构建的一个通过opendocument显示BO报告的应用程序中,BO服务器在执行REST服务调用时似乎不会响应OpenDocumentURL。你能提供一些线索说明原因吗

在开发环境中,对
的rest服务调用http://server/biprws/infostore/“
在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&amp;iDocID=<doc_id>" rel="http://www.sap.com/rws/bip#opendocument" title="OpenDocument" />
</entry>

管理员
http://server/biprws/infostore/12
标签:sap.com,2010:bip rs/
废话连篇
更新日期
废话连篇
废话连篇
韦比
但当我对QA环境进行相同的调用时,并没有返回打开的文档url(xml响应的最后一行)。是否缺少任何配置


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

我通过重新启动Apache web服务器解决了这个问题,SAP BO服务器软件在该服务器上托管其web服务,同时也托管SAP BO服务器软件本身。这使更改生效并正确应用了设置。

由于不同CMS之间的文档Id不相同,您是否更新了开发和QA环境之间的文档Id?我们只保证该文档保持相同的cuid。@ArnaudDevelay感谢您的回复。是不同的cms系统已更新为不同的