Task 2: How to Create a Domain Value Map

After creating an application and a project for the use case, create the domain value map.

To create a domain value map:

  1. In the Applications window, right-click the Multivalue project and select New.
  2. In the New Gallery dialog, expand the SOA Tier node, and then select the Transformations category.
  3. In the Items list, select Domain Value Map(DVM) and click OK.

    The Create Domain Value Map(DVM) File dialog appears.

  4. In the File Name field, enter multivalue.dvm.
  5. In the Domain Name fields, enter Longname, Shortname, Language, and Capital.
  6. In the Domain Value field corresponding to the Longname domain, enter Karnataka.
  7. In the Domain Value field corresponding to the Shortname domain, enter KA.
  8. In the Domain Value field corresponding to the Language domain, enter Kannada.
  9. In the Domain Value field corresponding to the Capital domain, enter Bangalore.
  10. Click OK.

    The Domain Value Map Editor appears.

  11. Click Add and then select Add Row.

    Repeat this step to add two more rows.

  12. Enter the information shown in Table 45-7 in the newly added rows of the domain value map table:

    Table 45-7 Information for Rows of Domain Value Map Table

    Longname Shortname Language Capital

    Karnataka

    KA

    Kannada

    Bangalore

    Tamilnadu

    TN

    Tamil

    Chennai

    Andhrapradesh

    AP

    Telugu

    Hyderbad

    Kerala

    KL

    Malayalam

    Trivandram

    The Domain Value Map Editor appears, as shown in Figure 45-20.

    Figure 45-20 Multivalue Domain Value Map

    Description of Figure 45-20 follows
    Description of "Figure 45-20 Multivalue Domain Value Map"
  13. From the File menu, select Save All and close the Domain Value Map Editor.