7 Replies Latest reply: Feb 10, 2012 2:23 AM by 895912 RSS

    Err.1-argument function named {http://xml.apache.org/xal/java}getOrderAsDOM

    905535
      Hi

      I am using XSLT automator(External) and below is namespace and methode that I use from XSLT.
      This is working fine but one day I saw some production orders are stuck with below error.

      Any idea why this error occured? or How we can avoid this error?

      xmlns:java="http://xml.apache.org/xalan/java"
      <xsl:variable name="input" select="java:getOrderAsDOM($automator)"/>

      Error:
      ####<17-01-2012 01:51:11 CET> <Error> <oms> <lome> <osm_admin> <ExecuteThread: '11' for queue: 'oms.automation'>; <oms-automation> <BEA1-011AD3100691F4D3E9F4> <> <1326761471821> <BEA-000000> <plugin.XSLTReceiver: [ order ID=392479 hist. ID=33004370 task mnemonic=Get_CreditEvaluation_Status] Exception thrown while running Script resource [zip:file:///apps/osm/prod/weblogic/osm_domain/servers/osm_admin/tmp/_WL_user/osm_OrderManager_2_0_207.ear/fpdp4x/osm_OrderManager_2_0_207.jar!/META-INF/ce/GetXXStatusResponseHandlerPlugin.xslt]; exception location: ; SystemID: ; Line#: 40; Column#: -1
      net.sf.saxon.trans.XPathException: Cannot find a matching 1-argument function named {http://xml.apache.org/xalan/java}getOrderAsDOM()
      at net.sf.saxon.expr.ErrorExpression.evaluateItem(ErrorExpression.java:58)
      at net.sf.saxon.expr.ErrorExpression.iterate(ErrorExpression.java:71)
      at net.sf.saxon.expr.ExpressionTool.evaluate(ExpressionTool.java:308)
      at net.sf.saxon.instruct.GlobalVariable.getSelectValue(GlobalVariable.java:209)
      at net.sf.saxon.instruct.GlobalVariable.evaluateVariable(GlobalVariable.java:233)
      at net.sf.saxon.expr.VariableReference.evaluateVariable(VariableReference.java:480)
      at net.sf.saxon.expr.VariableReference.iterate(VariableReference.java:433)
      at net.sf.saxon.expr.ItemChecker.iterate(ItemChecker.java:132)