Table of Contents

Search

  1. Preface
  2. Web Services
  3. SOAP Web Services
  4. WSDL Data Object
  5. Schema Object
  6. How to Create a SOAP Web Service
  7. Operation Mappings
  8. Parsing Web Service SOAP Messages
  9. Generating Web Service SOAP Messages
  10. Web Service Consumer Transformation
  11. REST Web Services
  12. How to Create a REST Web Service
  13. REST Web Service Consumer Transformation
  14. REST Web Service Consumer Transformation Use Cases
  15. REST and SOAP Web Service Administration
  16. Datatype Compatibility

Web Services Guide

Web Services Guide

Mapping Input Ports to the Method Input

Mapping Input Ports to the Method Input

When you show the transformation input mapping, you can define input groups, define input ports, and map input ports to method input elements.
  1. Open a REST Web Service Consumer transformation.
  2. In the
    Ports
    view, show the input mapping.
  3. Define a primary key for the root input group.
  4. To add an input group or port to the
    Ports
    area, use one of the following methods:
    Method
    Description
    Drag an element.
    Drag a group or a child element from the
    Method Input
    area to an empty column in the
    Ports
    area. If you drag a group to the
    Ports
    area, the Developer tool adds a group without ports.
    Manually add a group or port.
    To add a group, click the arrow next to the
    New
    button, and then click
    Group
    . To add a port, click the arrow next to the
    New
    button, and then click
    Field
    .
    Drag a port from another transformation.
    In the editor, drag a port from another transformation to the REST Web Service Consumer transformation.
    Copy a port.
    Select ports from another transformation and copy them to the
    Ports
    area. To copy ports, you can use keyboard shortcuts or you can use the
    Copy
    and
    Paste
    buttons in the Developer tool.
    Select
    Map first level of hierarchy
    .
    The Developer tool maps elements in the first level of the method input to input ports and groups. The Developer tool also creates the input ports and groups to perform the mapping.
  5. If you manually create a port or you copy a port from another transformation, click the
    Location
    column in the
    Method Input
    area and choose a port from the list.
  6. To map input ports as a composite key, use one of the following methods:
    Method
    Description
    Drag input ports.
    Select two or more input ports, and drag them to a key in the method input hierarchy.
    Select input ports from the
    Select Location
    dialog box.
    Click the
    Location
    column of a key in the method input hierarchy and then select the input ports.
  7. To clear the locations of elements, use one of the following methods:
    Method
    Description
    Click
    Clear
    .
    Select one or more elements in the
    Method Input
    area and click
    Clear
    .
    Delete the lines that connect ports to elements.
    Select one or more lines that connect the input ports to the elements in the method input, and press
    Delete
    .

0 COMMENTS

We’d like to hear from you!