Create message sets and BAR file for the message libraries

Import the XML schema definition files that are obtained from the scheme provider into a new workspace, create message set(s), and package them in a BAR file.

Create a message library containing XML schema definition files:
  1. Start the IBM® App Connect Toolkit and create a new, empty workspace.
  2. Select File > New > Library, and give it an appropriate scheme specific name (for example, Target2_Messages) and click Finish.
  3. Select File > Import.
  4. Expand General and select File System.
  5. Click Next.
  6. Click Browse next to From directory and select the directory that contains the scheme-specific XSD files.
  7. Make sure that all required files are selected.
  8. Click Browse next to Into folder and select the library that was created in step 2.
  9. Click Finish.
  10. Repeat these steps to create message libraries for each of the following payment schemes as required.
    • CBPR+
    • EURO1
    • NBO
    • RIX
    • Kronos2
    • T2
Create a message set:
  1. Select File > New > Other
  2. Select Message Set and click Next.
  3. Provide an appropriate scheme-specific name such as Target2_MessageSet and click Finish.
    Note: Message sets must be created with names that match the values that are defined in the Formats model configuration. The names to use are shown in the following list.
    • CBPRPlus_MessageSet
    • Euro1_MessageSet
    • Target2_MessageSet
    • NBO_MessageSet
    • RIX_MessageSet
  4. Next, create message definitions for the newly created message set.
  5. Select File > New > Other
  6. Select Message Definition File From and click Next.
  7. Select XML schema file and click Next.
  8. With the appropriate scheme-specific message set chosen (for example, Target2_MessageSet), select a .xsd file from the appropriate scheme-specific library that was created earlier (for example, Target2_Messages). Then, click Next.
  9. Select the Elements > Document check box and click Finish.
  10. Repeat steps 5 through 9 for each .xsd file that is contained in the scheme specific library, so that each message type is defined in the message set.
  11. Repeat all of the above steps to create message sets for each scheme as required.
Create a broker archive file containing the newly created message set(s):
  1. Select File > New > BAR file
  2. Give it the name FtmHvpMsgs.
  3. Click Finish. The BAR file editor opens.
  4. In the Prepare tab of the BAR file editor, select the required message set(s) and click Build and Save. It is not necessary to include the message libraries in the BAR file.
  5. Close the BAR file editor.