Table of Contents

Search

  1. Preface
  2. Components
  3. API collections
  4. Business services
  5. File listeners
  6. Fixed-width file formats
  7. Hierarchical mappers
  8. Hierarchical schemas
  9. Industry data service customizer
  10. Intelligent structure models
  11. Refining intelligent structure models
  12. Mapplets
  13. Saved queries
  14. Shared sequences
  15. User-defined functions

Components

Components

Mapping a schema for an industry-standard message

Mapping a schema for an industry-standard message

To map a schema for an industry-standard message and convert the message to a different hierarchical structure, download the data service from the data services repository and upload the schema as a hierarchical schema in
Data Integration
. Then, you can use the hierarchical schema in a hierarchical mapper and use the hierarchical mapper in a mapping.
  1. In Administrator, download and unzip the data service.
    1. Open the
      Data Services Repository
      page.
    2. Select the row that contains the data service, click the
      Download
      icon, and then save the ZIP file to your local machine.
    3. Unzip the file to a folder with a unique name.
  2. In
    Data Integration
    , create a hierarchical schema based on the data service that you downloaded.
    1. Click
      New
      Components
      Hierarchical Schema
      .
    2. On the
      New Hierarchical Schema
      page, specify a name and location for the hierarchical schema, or use the default values.
    3. Click
      Upload
      .
    4. In the
      Upload Schema/Sample File
      dialog box, click
      Choose File
      to select the XSD file that contains the schema for the data service, and then click
      OK
      to upload it.
    5. To save the hierarchical schema, click
      Save
      .
  3. Create a hierarchical mapper using the hierarchical schema as the source schema.
    1. Click
      New
      Components
      Hierarchical Mapper
      .
    2. In the
      Hierarchical Mapper
      designer, configure the general properties and select the hierarchical schema that you created as the source schema. Then, map it to a target hierarchical schema.
      For more information about creating a hierarchical mapper, see Creating a hierarchical mapper.
  4. To use the hierarchical mapper, create and run the following mappings, in order:
    1. A mapping that uses the Data Services transformation to invoke a parser data service that parses the incoming industry-standard message and generates an XML file.
    2. A mapping that uses the Data Services transformation to run the hierarchical mapper on the generated XML file and output the XML file defined as the target schema in the hierarchical mapper.

0 COMMENTS

We’d like to hear from you!