首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SAP服务调用不返回opendocument url

SAP服务调用不返回opendocument url
EN

Stack Overflow用户
提问于 2017-01-17 20:44:00
回答 1查看 286关注 0票数 0

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

在dev环境中,对"http://server/biprws/infostore/<doc_id>"的rest服务调用带有http头中的登录令牌,返回响应下面的内容(最后一行应该看到该报告打开文档的链接)。

响应

代码语言:javascript
复制
<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环境时,不会被返回( xml中的最后一行)。有没有我缺少的配置?

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

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-04-17 19:35:09

我通过重新启动Apache服务器解决了这个问题,SAP BO服务器软件承载了它的web服务,也重新启动了SAP服务器软件本身。这使更改有效,并正确地应用了设置。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/41706632

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档