0

我正在使用 bpel 与 Oracle UCM 集成。我需要从 UCM 下载一个文件,并且需要对文件进行一些丰富的处理。对于集成,我使用的是 Idc 服务的 GET_FILE 操作。我传递参数的 xslt 看起来像 .

                <tns:GenericRequest>
                  <xsl:attribute name="webKey">
                    <xsl:text disable-output-escaping="no">cs</xsl:text>
       </xsl:attribute>
  <tns:Service>
    <xsl:attribute name="IdcService">
      <xsl:text disable-output-escaping="no">GET_FILE</xsl:text>
    </xsl:attribute>
    <tns:Document>
      <tns:Field>
        <xsl:attribute name="name">
          <xsl:text disable-output-escaping="no">dDocName</xsl:text>
        </xsl:attribute>
        <xsl:value-of select="/ns1:ADP_Params/ns1:Param1"/>
      </tns:Field>
       </tns:Document>
  </tns:Service>
</tns:GenericRequest>

但我没有得到预期的结果。我的回复如下

     <ns2:Service  IdcService="GET_FILE">
    <ns2:Document>
      <ns2:Field  name="StatusCode">-32</ns2:Field>
       <ns2:Field  name="refreshMonikers"/>
     <ns2:Field  name="refreshSubMonikers"/>
     <ns2:Field  name="IdcService">GET_FILE</ns2:Field>
     <ns2:Field  name="changedMonikers"/>
      <ns2:Field  name="dDocName">UCM001</ns2:Field>
      <ns2:Field  name="idcToken"/>
       <ns2:Field  name="StatusMessage">Unable to execute service    GET_FILE and function computeDocID. The error was caused by an internally generated issue. The error has been logged.</ns2:Field>
     <ns2:Field  name="IdcErrorFunction">computeDocID</ns2:Field>
      <ns2:Field  name="dUser">User1</ns2:Field>
      <ns2:Field  name="localizedForResponse">1</ns2:Field>
      <ns2:ResultSet  name="UserAttribInfo"> 

请帮忙

4

2 回答 2

1

如果未指定dID ,则必须指定dDocNameRevisionSelectionMethod

必须指定内容项修订 ID ( dID ),或者必须定义内容 ID ( dDocName ) 和RevisionSelectionMethod参数。

因此,您需要添加类似 RevisionSelectionMethod=LatestReleased

文档

于 2015-11-26T17:38:05.367 回答
0

你会在日志中找到很多信息。登录 CS 并转到管理 - 日志文件。再次运行您的请求并查看最新的日志条目。如果您需要更多帮助,请在此处发布。

/山姆

于 2015-11-26T15:20:51.317 回答