我正在使用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"> 请帮帮忙
发布于 2015-11-27 01:38:05
如果未指定dID,则必须指定dDocName和RevisionSelectionMethod。
必须指定内容项修订ID (dID),或者必须定义内容ID (dDocName)和RevisionSelectionMethod参数。
因此,您需要添加类似于RevisionSelectionMethod=LatestReleased的内容
发布于 2015-11-26 23:20:51
您将在日志中找到大量信息。登录CS并转到管理-日志文件。再次运行您的请求并查看最新的日志条目。如果你需要更多帮助,请把它贴在这里。
/Sam
https://stackoverflow.com/questions/33921332
复制相似问题