XML Schemas are created as Message Definition Files within a message
set that is then deployed.
To create and deploy a message set for schema validation you must:
- Create or locate a message set that will contain the schemas.
- Set the Message Domain property of the message set to XMLNSC.
- Use the New Message Definition File wizard to create a message
definition file (mxsd) from the XML Schema file (.xsd).
- Add the message set to a BAR file and deploy the BAR file.
Repeat step 3 for each XML Schema file that you want
to deploy.
If your XML Schema imports or includes other XML Schema files,
you can use the mqsicreatemsgdefs command
to create all the message definition files in a single operation.