Using Parse SWIFT MX and Render SWIFT MX Activities
The MX_Parse_Render project shows how to use the Parse SWIFT MX and the Render SWIFT MX activities to parse and render MX messages.
This project contains the following processes:
- SWIFT_MX_Parse_and_Render_InterAct_Process
- SWIFT_MX_Parse_Document_Process
- SWIFT_MX_Parse_Document_with_ValidationFilter_Process
- SWIFT_MX_Parse_InterAct_ISOHeader_Process
- SWIFT_MX_Parse_SAA_Process
SWIFT_MX_Parse_and_Render_InterAct_Process
You can use the SWIFT_MX_Parse_and_Render_InterAct_Process to validate and parse the content in the incoming message, and to generate a new message.
The following figure describes the SWIFT_MX_Parse_and_Render_InterAct_Process:
The SWIFT_MX_Parse_and_Render_InterAct_Process performs the following operations:
- The ReadFile activity reads an MX message, and passes it to the ParseSWIFTMX activity.
- The ParseSWIFTMX activity validates and parses content of the InterAct type message, and passes it to the RenderSWIFTMX activity.
- The Render SWIFTMX activity validates content of the InterAct type message, generates a specific MX message, and passes it to the WriteFile activity.
- The Write File activity writes an MX message to the sese.023.001.010_InterAct_out.xml file in the $Example_Root/out directory.
SWIFT_MX_Parse_Document_Process
You can use the SWIFT_MX_Parse_Document_Process to validate and parse the content of the document type message.
The following figure describes the SWIFT_MX_Parse_Document_Process:
The SWIFT_MX_Parse_Document_Process performs the following operations:
- The ReadFile activity reads an MX message, and passes it to the ParseSWIFTMX activity.
- The ParseSWIFTMX activity validates and parses the content of the document type message, and produces an MX message.
SWIFT_MX_Parse_Document_with_ValidationFilter_Process
You can use the SWIFT_MX_Parse_Document_with_ValidationFilter_Process to validate and parse the content of the document type message.
The following figure describes the SWIFT_MX_Parse_Document_with_ValidationFilter_Process:
The SWIFT_MX_Parse_Document_with_ValidationFilter_Process performs the following operations:
- The ReadFile activity reads an MX message, and passes it to the ParseSWIFTMX activity.
- The ParseSWIFTMX activity validates and parses the content of the document type message with a validation filter file, and produces an MX message.
SWIFT_MX_Parse_InterAct_ISOHeader_Process
You can use the SWIFT_MX_Parse_InterAct_ISOHeader_Process to validate and parse the content of the InterAct ISOHeader type message.
The following figure describes the SWIFT_MX_Parse_InterAct_ISOHeader_Process:
The SWIFT_MX_Parse_InterAct_ISOHeader_Process performs the following operations:
- The ReadFile activity reads an MX message, and passes it to the ParseSWIFTMX activity.
- The ParseSWIFTMX activity validates and parses the content of the InterAct type message with ISO AppHeader, and produces an MX message.
SWIFT_MX_Parse_SAA_Process
You can use the SWIFT_MX_Parse_SAA_Process to validate and parse the content of the SWIFT Alliance Access (SAA) type message.
The following figure describes the SWIFT_MX_Parse_SAA_Process:
The SWIFT_MX_Parse_SAA_Process performs the following operations:
- The ReadFile activity reads an MX message, and passes it to the ParseSWIFTMX activity.
- The ParseSWIFTMX activity validates and parses the content of the SAA type message, and produces an MX message.