How to run the example
This EBA EURO1/STEP1 MX Validation will use the sample files to demonstrate the generation of validation report as output from a EBA EURO1/STEP1 XML message.
The stopValidation.json file will report the validation failure due to the pre-conversion checks:
If input file is other than any of the supported EBA EURO1/STEP1 messages as per schema list indicated above.
- Import the eba_e1s1_flow.zip project into the Design Server.
-
Open the eba_e1s1_flow project in Design Server and view the flow
eba_e1s1_validation_flow.
-
The Flow Description points to all the maps to be executed during the
flow process, which will be called from within some of the map nodes in the flow. The following is a
list of maps invoked using RUN built-in function during the flow process:
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_pacs_validation_enh/e1s17101_pacs_002_001_10
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_pacs_validation_enh/e1s17102_pacs_004_001_09
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_pacs_validation_enh/e1s17103_pacs_008_001_08
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_pacs_validation_flw_enh/e1s17134_pacs_009_001_08
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_pacs_validation_enh/e1s17105_pacs_010_001_03
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_pacs_validation_enh/e1s17151_head111_pacs
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17051_head111_camt
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17001_camt_054_001_08
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17002_camt_003_001_07
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17003_camt_004_001_08
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17004_camt_005_001_08
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17005_camt_006_001_08
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17006_camt_009_001_07
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17007_camt_010_001_08
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17008_camt_011_001_07
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17009_camt_029_001_09
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17010_camt_052_001_08
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17011_camt_053_001_08
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17012_camt_056_001_08
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17013_camt_998_001_03_gar
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17014_sup_camt_998_001_03_gar
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17015_camt_998_001_03_rar
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_camt_validation_enh/e1s17016_sup_camt_998_001_03_rar
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_admi_validation_enh/e1s17501_admi_007_001_01
- @packagemap=eba_e1s1/validation/mx_extended/maps/e1s1_mx_admi_validation_enh/e1s17551_head111_admi
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17201_camt_054_001_08
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17202_camt_003_001_07
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17203_camt_004_001_08
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17204_camt_005_001_08
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17205_camt_006_001_08
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17206_camt_009_001_07
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17207_camt_010_001_08
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17208_camt_011_001_07
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17209_camt_029_001_09
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17210_camt_052_001_08
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17211_camt_053_001_08
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17212_camt_056_001_08
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17213_camt_998_001_03_gar
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17214_sup_camt_998_001_03_gar
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17215_camt_998_001_03_rar
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17216_sup_camt_998_001_03_rar
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17301_pacs_002_001_10
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17302_pacs_004_001_09
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17303_pacs_008_001_08
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17304_pacs_009_001_08
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17305_pacs_010_001_03
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17401_admi_007_001_01
- @packagemap=eba_e1s1/validation/schema_only/maps/e1s1_mx_schema_validation_xsd/e1s17651_head_001_001_01
-
It utilizes the following nodes:
- Map Nodes:
- MX pre-check
Runs map mxut1003_bizsvc_e1s1 which set flow variables, check pre-validation conditions and create infoset.json for validation.
- MX de envelope
Runs map e1s11900_deenvelope which separates header and document portions for messages.
- set BAH
Runs map e1s117703_bah_pacs009_set which sets the variable AppHdr.MsgDefIdr to be used during pacs.009.001.08 extended validation.
- BAH EXT-VAL
Runs map e1s17701_bah_val which calls the appropriate map to performs extended validation on the header of a EBA EURO1/STEP1 message.
- BAH XSD-VAL
Runs map e1s17801_bah_val which calls the appropriate map to performs schema validation on the header of a EBA EURO1/STEP1 message.
- DOC EXT-VAL
Runs map e1s17702_doc_val which calls the appropriate map to performs extended validation on the body of a EBA EURO1/STEP1 message.
- DOC XSD-VAL
Runs map e1s17802_doc_val which calls the appropriate map to performs schema validation on the body of a EBA EURO1/STEP1 message.
Note: The maps e1s17701_bah_val, e1s17702_doc_val, e1s17801_bah_val and e1s17802_doc_val internally call all the other maps identified in the above Flow Description step.
- MX pre-check
- Decision Nodes:
- pre-valid chk
This node checks the flow variable stopTranslation to decide if further processing is required.
- pre-valid chk
- Route Nodes:
- BAH-VAL
This routing node identifies the type of validation to be performed for the business application header. The options are extended or schema. The default as per the flow settings is extended.
- DOC-VAL
This routing node identifies the type of validation to be performed for the business document. The options are extended or schema. The default as per the flow settings is extended.
- BAH-VAL
- Log Nodes:
- FAILURE
It creates stopMXvalidation.json log file in case of no validation due to pre-condition check failures.
- bah_ext
It creates bah_validation_results.xml output file for results of message header extended validation.
- bah_xsd
It creates bah_validation_results.xml output file for results of message header schema validation.
- doc_ext
It creates doc_validation_results.xml output file for results of message body extended validation.
- doc_xsd
It creates doc_validation_results.xml output file for results of message body schema validation.
- FAILURE
- Fail Node:
- STOP
It generates error message setup in the node in case of no validation performed.
- STOP
- Map Nodes:
-
The Flow Description points to all the maps to be executed during the
flow process, which will be called from within some of the map nodes in the flow. The following is a
list of maps invoked using RUN built-in function during the flow process:
-
In Design Server, create a package eba_e1s1_mx_validation that contains
the input files and one flow eba_e1s1_validation_flow. The maps will
automatically be included during deployment of the package onto the runtime server.
Note: Not required for running flows on Design Server user interface directly.