Translate Activity Is Failing To Handle 2 Dimensional Array In JSON Payload

(Doc ID 2341445.1)

Last updated on JANUARY 02, 2018

Applies to:

Oracle SOA Suite - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.0.0 version, BPEL Service Engine

Translate activity is failing to handle 2 dimensional array in JSON payload

ERROR
-----------------------

Failed to translate JSON to XML. java.io.IOException: Array start inside array
The incoming data does not conform to the NXSD schema. Please correct the problem.
{Usage=[ora:doTranslateFromNative('input string variable or attachment element', 'nxsd template', 'nxsd root element name', 'DOM or SDOM or ATTACHMENT', 'optional attachment element if the targetType paramater is ATTACHMENT?')]}
at com.collaxa.cube.xml.xpath.functions.util.TranslateFromNativeBPELXPathFunction.call(TranslateFromNativeBPELXPathFunction.java:80)
at com.collaxa.cube.xml.xpath.BPELXPathFunctionWrapper.evaluate(BPELXPathFunctionWrapper.java:80)
at oracle.xml.xpath.JXPathContext$JXFunction.invoke(JXPathContext.java:213)
at oracle.xml.xpath.JXPathContext$JXFunction.invoke(JXPathContext.java:182)
at oracle.xml.xpath.XPathExtFunction.evaluate(XPathExtFunction.java:335)
at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:226)
at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:252)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromExpression(BPEL2FromToOperationPerformer.java:524)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalExpression(BPEL2FromToOperationPerformer.java:277)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.doEvalFromValue(BPEL2FromToOperationPerformer.java:423)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.evalFromValue(BPEL2FromToOperationPerformer.java:217)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2FromToOperationPerformer.performAssign(BPEL2FromToOperationPerformer.java:84)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.assign.BPEL2AssignOperationPerformer.perform(BPEL2AssignOperationPerformer.java:140)
at com.collaxa.cube.engine.ext.bpel.v2.wmp.BPEL2AssignWMP.__executeStatements(BPEL2AssignWMP.java:75)
at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:197)
at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:195)
at com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper$1.call(SWSComponentProcessActivityWrapper.java:74)
at com.collaxa.bpel.sws.SWSCallableActivityWrapper.execute(SWSCallableActivityWrapper.java:89)
at com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper.execute(SWSComponentProcessActivityWrapper.java:82)
at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:205)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2878)
at com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1260)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1155)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:92)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:300)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:379)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4871)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4795)
at com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:751)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:586)
at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:723)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:478)
at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:43)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:154)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:150)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:90)
at com.collaxa.cube.engine.dispatch.WMExecutor$W.run(WMExecutor.java:236)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:207)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
]]




Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms