Вы находитесь на странице: 1из 5

Exercise 2: Message Mapping Mapping Template Overview The purpose of this exercise is to design a Message Mapping using an existing

g mapping template. This exercise will test the understanding of using mapping template in Message Mapping. Prerequisites Basic knowledge of XI 3.0 Message Mapping. Description The source is an XML document containing Contact information. The target is an XML document containing Customer information. Within Contact, a predefined data type of Name is used. Within Customer, a predefined data type of CustName is used. An existing mapping for Name to CustName already exists. Therefore, we will reuse this existing mapping template. Exercise steps *Please note, as a general rule, all development and configuration objects are CASE-SENSITIVE. There are many ways to achieve the desired result. The solution provided here is only 1 way, not the only way. Create a Message Mapping 1. Logon to Integration Repository. 2. Go into SWCV and namespace. 3. Create a mapping template. a. In Data Type, create an object Name with the following information.

b. In Data Type, create an object CustName with the following information.

c.

Create a mapping template. In Mapping Templates, create a template called Name__CustName, with the following mapping. The source and target are the data types of Name and CustName. Pleasenote that MappingTemplatesare createdusingDataTypes,not MessageTypes.

4. In Data Types, create the following 3 objects: Address, Contact and Customer.

Usethe Data Typescreatedpreviously.

5. Create a Message Mapping, Contact_to_Customer.

6. Assign the Mapping Template as follow: a. Highlight the Name in source and CustomerName in target

b. Click on the templates. c.

on the menu bar on top, which will show the available mapping

A selection screen containing the available mapping templates will appear.

d. Select Name__Custname and click OK. The mapping is now complete. e. Click on the targets Name to verify that the mapping template is being used. 7. Test the mapping by using the Test tab.

Вам также может понравиться