我正在 OSB 中运行 xslt 转换。它调用 current-dateTime 方法,如下所示:
<db:lastupdate>
<xsl:value-of select="fn:current-dateTime()"/>
</db:lastupdate>
它返回以下错误:
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382513</con:errorCode>
<con:reason>
OSB Replace action failed updating variable "body":
javax.xml.transform.TransformerException: Instance method call
to method current-dateTime requires an Object instance as first argument
</con:reason>
...
</con:fault>