How to run the example
This mx-mt translation will use the sample files to demonstrate the generation of SWIFT MT900 or MT910 message output from a CBPR+ camt.054.001.08 XML message.
The cbprJnodesConfigIBM.tar.gz file is available either in IBM_financialpaymentsplus_vn.n.n.n.zip or in UIProjectImports directory.
Extract from cbprJnodesConfigIBM.tar.gz file.
- jnodes0.jar
The following jars needs to be copied from <TX_install_dir>/jars:
- jackson-core-n.n.n.jar
- jackson-annotations-n.n.n.jar
- jackson-databind-n.n.n.jar
Or visit https://repo1.maven.org/maven2/com/fasterxml/jackson/core/ for download.
For the non Docker environments:
- Copy jars to <TX_install_dir>/extjar.
For the Docker environments
- Docker cp jnodes0.jar tx-server:/opt/ibm/wsdtx/libs/.
- Restart the design server, i.e., docker restart tx-server.
This example generates MT900 or MT910 based on the <CdtDbtInd>
which could be
CRDT (will generate MT910) or DBIT (will generate
MT900).
Also, may generate stopTranslation.json log file to report the translation failure due to the pre-conversion checks:
Either <CdtDbtInd> is not one of these (CRDT, DBIT) or <Sts><Cd> is not BOOK.
TotalNumberOfDigits <Ntry><Amt> less than or equal to 14.
Only one occurrence is allowed for <Ntfctn>, <Ntry>, <NtryDtls> and <TxDtls>.
Either one must exist <Ntfctn><Ntry><ValDt> or <Ntfctn><Ntry><NtryDtls><TxDtls><RltdDts><IntrBkSttlmDt>.