SWIFT Module 7.1 SP10.July 2020 | Configuring SWIFT Module for Message Exchange over SAA | Using SAA to Exchange XML v2 Wrapped MT and MX Messages | Exchanging MX Messages through SAA | Step 3: Create IS Schema and IS Document Type
Step 3: Create IS Schema and IS Document Type
The MX message structure is defined by an XML schema. You must create an XML schema in Integration Server that corresponds to the MX message structure to populate the data values in the pre-defined placeholders for that particular MX message type.
*To create an IS schema and IS document type for an MX message type
1. Start Designer.
2. Navigate to the package and folder of the MX message type for which you want to create an IS document type (for example, camt.029.001.01).
3. Follow the instructions for creating document types as described in webMethods Trading Networks Administrator’s Guide.
4. In the Name field in the New Document Type dialog box, type a name for the IS document type using any combination of letters, numbers, and/or the underscore character (for example, camt_029_001_01) and click Next.
5. Under Select a source, select XML Schema and click Next.
6. In the Enter the URL or select a local file box, browse to the location of the XML schema to be used for creating this message type (for example, Integration Server_directory /packages/WmFIN/config/schemas/camt_029_001_01.xsd). Click Next.
7. In the New Document Type dialog box do the following:
a. Under Select the root node, specify the root element of the document (for example, Document#urn:iso:std:iso:20022:tech:xsd:camt.029.001.01).
b. Under Select schema type processing, select Expand complex types inline. Designer processes complex types by expanding them inline in the editor.
c. Click Finish.
Designer generates the IS document type and IS schema and saves the IS document type on Integration Server. You can view the IS document type in the editor and the IS schema in the Navigation panel. For information about creating IS document types and IS document schemas, see webMethods Service Development Help.
The WmSWIFTSamples package contains IS schemas and IS document types already created for camt.029.001.01 and camt.007.002.01 messages in the folders wm.xmlv2.doc.camt_029_001_01 and wm.xmlv2.doc.camt_029_001_01, respectively. For information about the samples package, see webMethods SWIFT Module Samples Guide.