How to Use XML Bridge - Teradata Meta Data Services

Teradata Meta Data Services User Guide

Product
Teradata Meta Data Services
Release Number
15.00
Language
English (United States)
Last Update
2018-09-27
Product Category
Teradata Tools and Utilities

How to Use XML Bridge

The import of XML CWM or CWM/XMI formatted metadata through XML Bridge is a simple process that can be done using either MetaBrowse or MetaManager. The work done by XML Bridge is transparent to the user.

To import CWM or CWM/XMI formatted metadata through XML Bridge:

1 Select a supported tool from which you want to import metadata into an MDS repository.

See “Supported Tools” on page 244.

2 From the selected tool, open a file you want to import into MDS, and then execute the appropriate menu-items to export the file into XML CWM or CWM/XMI format.

3 Using MetaBrowse or MetaManager, choose Tools > Import > XML to start the process of importing the XML file into the MDS repository.

The following figure illustrates this step using MetaBrowse.

MetaBrowse calls XML Import, and a standard Windows Locate the File to Import dialog box appears.

4 Navigate through the directories to the file you want to import, select the file, and then click Open.

If the CWM_Metamodel has already been created, go to step 6.

If the CWM_Metamodel has not yet been created in the MDS repository, XML Import prompts you to create it.

5 Click Yes to continue.

A console window opens and a series of processing messages appear while the MetaXML utility creates the CWM_metamodel, which will hold CWM metadata. When processing is finished, you are prompted to press Enter.

After complying, the console window closes and the MDS tool reappears, ready to import the metadata from the transformed XML file.

6 From either MetaBrowse or MetaManager, again choose Tools > Import > XML.

A Locate the File to Import dialog box reappears.

7 Re-select the CWM XML file and click Open.

XML import software opens the file and determines that the CWM/XMI XML needs processing by XML Bridge. As part of its routine, XML Bridge creates a transformed XML file in MetaXML schema format, assigning it the same name as the file selected for import, prepended by “t_.” For example, if you choose to import a file named sas.xml, XML Bridge creates a file named t_sas.xml.

You are then prompted to import the transformed XML file.

8 Click Yes to continue.

When MetaXML is finished importing the file, you’re prompted to press Enter. After complying, the console window closes.

9 Choose View > Refresh Application Metamodels.

The tool refreshes, displaying the newly created metamodel and metadata of the imported XML file, similar to that shown in the following figure.

MDS also provides functionality to export metadata from the MDS repository and back into a supported tool. There is no GUI interface for such exports, however. For more information, see “Technical Details” on page 255 and “FAQ” on page 258.