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 and SOAP Web Service Administration
  15. Datatype Compatibility

Web Services Guide

Web Services Guide

Mapping the Operation Output to Output Ports

Mapping the Operation Output to Output Ports

When you show the transformation output mapping, you can define output groups, define output ports, and map operation output nodes to output ports.
  1. Open a Web Service Consumer transformation.
  2. To show the transformation output mapping, use one of the following methods:
    • For a reusable transformation, click the
      Overview
      view. Choose to show the output mapping.
    • For a non-reusable transformation, click the
      Ports
      tab in the
      Properties
      view. Choose to show the output mapping.
  3. To add an output group or port to the
    Ports
    area, use one of the following methods:
    Option
    Description
    Drag a node
    Drag a group node or a child node in the
    Operation Output
    area to an empty column in the
    Ports
    area. If the node is a group node, 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 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
    Select
    Map first level of hierarchy
    . The Developer tool maps nodes in the first level of the operation output to output ports and groups. The Developer tool also creates the output ports and groups to perform the mapping.
  4. If you manually create a port or you copy a port from another transformation, click the
    Location
    column in the
    Ports
    area and choose a node from the list.
  5. To clear the locations of ports, use one of the following methods:
    Option
    Description
    Click
    Clear
    Select one or more ports in the
    Ports
    area and click
    Clear
    .
    Delete the lines that connect nodes to ports
    Select one or more lines that connect the nodes in the operation output to the output ports and press
    Delete
    .
  6. If the associated WSDL data object includes anyType elements, any elements, anyAttribute attributes, derived type elements, or substitution groups, choose objects in the
    Operation Output
    area. In the
    Type
    column for a node, click
    Choose
    and then choose one or more types, elements, or attributes from the list.
  7. To map the complete SOAP response message as XML, right-click the root group in the
    Operation Output
    area and select
    Map as XML
    .