Importing XSD files for MX messages
The XSD files that define the structure of MX messages can be obtained directly from the SWIFT website www.swift.com.
To import XSD files into the IBM® Integration Toolkit
workspace as message definition sets:
- Download the required XSD files to a temporary directory. In the following steps, the name of this directory is represented by mxSchemaDir.
- Close the IBM Integration Toolkit.
- Open a Command Prompt and change to the installation directory of IBM Integration Toolkit.
- Issue the following command on a single line:
where:mqsicreatemsgdefs -p projectName -d mxSchemaDir -data workspaceLocation -ns -v -log mxSchemaDir\mqsicreatemsgdefs.logprojectName- The name of the message definition set project that is to be created
mxSchemaDir- The path to the directory where you stored the XSD files in step 1
workspaceLocation- The path to the directory where the IBM Integration Toolkit workspace is located
- Restart the IBM Integration Toolkit.
- Open the new message definition set project.
- In the new message definition set project, open the message set messageSet.mset and change its default message domain to XMLNSC.