Table of Contents

Search

  1. Preface
  2. Introduction
  3. Configuring the Data Director Application
  4. Establishing a Root Node
  5. Defining the Business Entity Model
  6. Configuring Business Entity Properties
  7. Configuring Reference Entity Properties
  8. Transforming Business Entities and Views
  9. Configuring Hierarchy and Network Relationships
  10. Creating Match Rule Sets
  11. Configuring Search
  12. Configuring Tasks
  13. Configuring Security and Data Filters for Business Entities
  14. Configuring the Content Security Policy
  15. Integrating Data as a Service
  16. Configuring External Calls
  17. Designing the Data Director User Interface
  18. Localizing Data Director
  19. Appendix A: Provisioning Tool Frequently Asked Questions

Transforming a Business Entity to XML Format

Transforming a Business Entity to XML Format

A request to the web service requires inputs in XML format. You must define the mappings for the service request. To transform a business entity into an XML format, map the business entity fields to the input fields of a service request.
  1. Click
    Business Entity
    Transformations
    , and then select
    Business Entity to XML
    .
  2. Click
    Create
    .
  3. In the properties panel, specify the following properties:
    Property
    Description
    Name
    Name for the transformation.
    URL
    Identifies the namespace where the SOAP operation is defined.
    Business Entity
    Business entity for which you request the service.
    Type
    Select the namespace.
    Target
    Request element. Click the
    Browse
    button and select the root element.
  4. Click
    Apply
    .
  5. To configure the transformation for the root node, select
    Transformations
    in the tree view panel, and then click
    Create
    .
  6. In the properties panel, specify the following properties:
    Property
    Description
    Name
    Name for the transformation.
    Status Output
    Name of the cleanse output parameter. Used in cleanse transformations. Not applicable to transformations for DaaS.
    Status Success
    A regular expression. When the cleanse operation successfully completes, it returns a value in the cleanse output parameter that matches the regular expression. Not applicable to transformations for DaaS.
    Type
    Type of transformation to map data from a business entity field to the XML field. Direct transformations keep the data unchanged.
  7. Map the business entity fields to the fields in the request:
    1. In the
      Input Fields
      column, click the
      Browse
      button.
    2. Select the business entity field that you want to map, and then click
      Select
      .
    3. In the
      Output Fields
      column, click the
      Browse
      button.
    4. Select the field in the request, and then click
      Select
      .
      If you specify a field, the value is taken from the Service Data Object (SDO), from the business entity or the XML data. For some output fields, you might specify constant values, and need not map the values to any input fields. For example, you can specify the maximum number of candidates that the service can return or the country code. You do not map such values to any input field. Specify the value in the
      Value
      field and map it to an Output Field.
    5. To map additional information, click the
      Add
      icon, and then follow Steps
      a
      to
      d
      .
    6. Click
      Apply
      .
    The following image shows a sample mapping of fields for the root entity:
    A screenshot showing the transformation and mapping of fields for a root entity.

0 COMMENTS

We’d like to hear from you!