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:
- Start the IBM® App Connect Toolkit and create a new, empty workspace.
- Select
Target2_Messages
) and click Finish.
, and give it an appropriate scheme specific name (for example,
- Select .
- Expand General and select File System.
- Click Next.
- Click Browse next to From directory and select the directory that contains the scheme-specific XSD files.
- Make sure that all required files are selected.
- Click Browse next to Into folder and select the library that was created in step 2.
- Click Finish.
- 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:
- Select
- Select Message Set and click Next.
- 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
- Next, create message definitions for the newly created message set.
- Select
- Select Message Definition File From and click Next.
- Select XML schema file and click Next.
- 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. - Select the Finish. check box and click
- 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.
- 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):
- Select
- Give it the name FtmHvpMsgs.
- Click Finish. The BAR file editor opens.
- 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.
- Close the BAR file editor.