Creating an XML map

During this tutorial of ECMap, create a map that converts XML data to a proprietary ODBC database format. Use an any-to-any map to accomplish this — importing the source record definitions from XML schema and the destination record definitions from the ODBC output data. We use a BizTalk XML schema in this example.

For this exercise, you are a company called Toys for Business that sells electronic toys to a trading partner called Major Playtime Tools (MPT). MPT sends all of its purchase orders as XML data, and you must be able to accept purchase orders in this format in order to do business with MPT.

You can complete this exercise in three easy steps:

  1. “Setting up your mapping environment”

  2. “Mapping your data”

  3. “Running your map”

To use this tutorial, you need to have installed ECMap on your PC.

You need the following data files, which were supplied with this tutorial:

Throughout this tour, the above path is abbreviated to c:\..\

StepsStarting the tutorial

  1. From the desktop, double-click the ECMap (globe) icon on your desktop. (When you install ECMap, the installation process automatically places this icon on your desktop.)

  2. In the Password text box on the Login window, type ecmap. Press ENTER or select OK.

    The main ECMap window opens and you are ready to begin the tutorial. To perform actions in ECMap, you can use the menu options at the top of the window or the icons on the toolbar. (The icons are also available on the ECMap Work Space, which can be opened by choosing Workspace from the View menu on the main ECMap window.)

    Table 3-1: Menu icons

    Project

    Map

    Company

    Partners

    Application Directories

    Files/Databases

    Records/Tables

    Memory Variables

    Rules

    Mapping

    Map Flow

    Generate Map

    Run Map

Hints