Import DFDL schema files from your file system into the IBM® Integration Toolkit.
You can import schema files that you have created outside the Toolkit, or that you have downloaded from GitHub and other repositories. Here we look at importing the DFDL schemas for UN/EDIFACT that are available from this site: http://dfdlschemas.github.io/EDIFACT/.
You can see a Youtube video of these steps here.
Procedure
- Download the .tar.gz or .zip file.
- Extract the contents, keeping folder names, and look for a readme file. The EDIFACT schema .zip file has a README.md file. Open it in a web browser or text editor for information about the file contents, and any special instructions. In this case, the file recommends importing the schemas into two separate libraries. Other sources of schema files might recommend different destinations.
- If necessary, create the necessary containers library in the Toolkit. You can’t drag the files onto a blank canvas.
- Create the EDIFACT-Common library. Click , and type EDIFACT-Common for the library name.
- Create the EDIFACT-SupplyChain-D03B library.
- Create a reference to the common library. Right-click EDIFACT-SupplyChain-D03B, select Manage Library references, and select EDIFACT-Common.
- Drag the .xsd files from the EDIFACT-Common directory on your file system to the EDIFACT-Common library. Populate the common library first, to avoid seeing errors about unresolved references.
- Drag the .xsd files from the EDIFACT-SupplyChain-D03B directory to the EDIFACT-SupplyChain-D03B library.
Results
You have imported the DFDL schema files.