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. Managing Many-to-Many Relationships
  10. Configuring Search
  11. Configuring Workflow Tasks and Triggers
  12. Configuring Security and Data Filters for Business Entities
  13. Integrating Data as a Service
  14. Configuring External Calls
  15. Designing the Data Director User Interface
  16. Localizing Data Director
  17. 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. Log in to the Provisioning tool and select the ORS.
  2. Click
    Business Entity
    Transformations
    .
    The
    Transformations
    page appears.
  3. From the
    Transformations
    list, select
    Business Entity to XML
    , and then click
    Create
    .
  4. In the
    Properties
    panel, specify the following properties:
    Property
    Description
    Name
    Name for the transformation.
    URI
    Identifies the namespace where the SOAP operation is defined.
    Business Entity
    Business entity for which you request the service.
    Type
    Type in the namespace.
    Target
    Request element. Click the
    Browse
    button ( ) and select the root element.
  5. Click
    Apply
    .
  6. To configure the transformation for the root node, select
    Transformations
    in the Tree View panel, and then click
    Create
    .
  7. 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.
  8. 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!