In some cases, when applying Move transformation on array elements in an XSL Transformation primitive of a Mediation Flow, the following exception and error message may be received at runtime: MediationRuntimeException CWSXM1025E
The following exceptions will exist in the system log file:
0000006e ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "transactionRequiredActivitySessionNotSupported" on bean "BeanId(MMTApp#MMTEJB.jar#Module, null)". Exception data: com.ibm.wsspi.sibx.mediation.flow.MediationRuntimeException: CWSXM1025E: An unexpected exception occurred when the flow was called: Error reading XML
Caused by: java.lang.IndexOutOfBoundsException: The property named 'xxx' is already set, but the input XML contains more instances
If you have an array where the source and target element names do not match, but the type names do match, then a Move between these similar types does not work. Also, this issue only applies for complex element arrays.
Resolving The Problem
The correct way to map array elements is to use For-each transformation.
Was this topic helpful?
15 June 2018