How to run the Universal Confirmation API example in Design Studio
About this task
This topic describes how to run the Universal Confirmation API example in Design Studio.
Procedure
- Use the Design Studio to open and build all maps in uc_api_validation.mms, uc_translation.mms, and validate_messages.mms maps.
- Run the map uctrxapi in uc_translation.mms for MT103 to api translation.
-
Run the map uctrx199 in
uc_translation.mms for api to MT199 translation.
Expected results:
- Valid Scenarios:In case of successful pre-validation, translation, and post validation, following files appear in the data folder:
- api.json: For MT103 to api translation.
- MT199.out: For api to MT199 translation.
- Invalid Scenarios: An error file prevalidation_failed.json file appears in the data folder in following scenarios, but not limited to:
- Any of the pre-validation executable map *.mmc is not found .
- Input source file is invalid and not compliant with pre-validation rules.
- The translation executable map is not found, or translation is failed.
- Unsupported input provided for translation.
An error file postvalidation_failed.json file appears in the data folder in following scenarios:- Any of the post validation executable map *.mmc is not found.
- The output file is invalid and not compliant with post validation rules.
- Valid Scenarios: