How to run the example

This mx-mt translation will use the sample files to demonstrate the generation of SWIFT MT103 message output from a CBPR+ pacs.008.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.

Note: Recommend using latest version.
For the non Docker environments,
  • Copy jars to <TX_install_dir>/extjar.

For TX V11.0.0 and up, native based Design Server installation,

Copy jars into the directory pointed to the config.yaml server.persisitence.files, by default, this is set to /opt/txlibs, then restart the running application ./ITX stop and then ./ITX start

For the Docker environments,
  • Docker cp jnodes0.jar tx-server:/opt/ibm/wsdtx/libs/.
  • Restart the design server, i.e., docker restart tx-server.
  1. Import the cbpr_translation.zip project into the Design Server.
  2. Open the cbpr_translation project in Design Server and build the following maps:
    • cbpr2700_pacs008_framework
    • cbpr2701_pacs008_translate
    • cbpr2703_pacs008_mt103
    • cbpr2709_pacs008_stp_translate
    • cbpr2501_mxmt_setvarlog
  3. Run the main map cbpr2700_pacs008_framework.
    The following output files will be generated:
    • mt_out.txt

      File contains the translated MT103 SWIFT message from CBPR+ pacs.008 message.

    • audit_msg.json

      Reports translation logs, including failure due to the pre-conversion checks as:

      <IntrBkSttlmAmt> Commodities currencies {XAU, XAG, XPD, XPT} Not allowed in Field 32A and 32B.