Open topic with navigation

TIBCO ActiveMatrix BusinessWorks™ Plug-in for SWIFT 6.10.0

# Parsing and Validating SWIFT MX/CBPR+ Messages Using SwiftMXCheck

You can use the SwiftMXCheck utility to validate one or more SWIFT MX message files. This utility can be used for low-level testing of SWIFT MX message files.

Procedure
1. Navigate to the TIBCO_HOME/bw/palettes/swift/version_number/bin directory.
2. Copy the SwiftMXCheck.tra file, rename the copied file as mySwiftMXCheck.tra, and then open it in the text editor.
3. Change the application.args property to include the metadata and validation options to use.

   For example,

   `application.args`

   `-mxdata TIBCO_HOME/bw/palettes/swift/version_number/bin/mxdata -set year`

   `-txsd TIBCO_HOME/bw/palettes/swift/version_number/bin/xsd/year/SwInt.xsd`

   `-axsd TIBCO_HOME/bw/palettes/swift/version_number/bin/xsd/year/$ahV10.xsd`

   `-mxsd TIBCO_HOME/bw/palettes/swift/version_number/bin/xsd/year/ -ib IBAN_dir`

   `-v TIBCO_HOME/bw/palettes/swift/version_number/samples/SampleMX.xml`

   For more information about the options, see SwiftMXCheck Options.

   Note: For the CBPR+ message, the argument mxsd should contain the full path of the .xsd file, that is `-mxsd TIBCO_HOME/bw/palettes/swift/version_number/bin/xsd/year/xsd_name.xml`.

   The path separator should be OS-specific. For Windows (using backward slash (\) in the path), Linux (using forward slash (/) in the path) and MAC OS(using forward slash (/) in the path).

   For example, if you are using the SwiftMXCheck utility for a cbpr+ message CBPRPlus-pacs_009_001_08_ADV. Then the mxsd argument should be `-mxsd TIBCO_HOME/bw/palettes/swift/version_number/bin/xsd/year/CBPRPlus-pacs_009_001_08_ADV.xml`.

4. Save the mySwiftMXCheck.tra file and exit the text editor.
5. Open a command line and navigate to the TIBCO_HOME/bw/palettes/swift/version_number/bin directory by using the following command:
   `cd TIBCO_HOME/bw/palettes/swift/version_number/bin`
6. Type the following command to start the utility:
   `SwiftMXCheck --run --propFile mySwiftMXCheck.tra`

Subtopics

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveMatrix BusinessWorks™ Plug-in for SWIFT

Copyright © 2001-2024. Cloud Software Group, Inc. All Rights Reserved.