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. Appendix A: Datatype Compatibility

Web Services Guide

Web Services Guide

Creating a Web Service Consumer Transformation

Creating a Web Service Consumer Transformation

You can create a reusable or non-reusable Web Service Consumer transformation. Reusable transformations can exist in multiple mappings. Non-reusable transformations exist within a single mapping.
You can create Web Service Consumer transformations for a SOAP 1.1 binding and a SOAP 1.2 binding from a single WSDL object.
  1. To create a transformation, use one of the following methods:
    Option
    Description
    Reusable
    Select a project or folder in the
    Object Explorer
    view. Click
    File
    New
    Transformation
    . Select the Web Service Consumer transformation and click
    Next
    .
    Non-reusable
    In a mapping or mapplet, drag a Web Service Consumer transformation from the Transformation pallette to the editor.
    The
    New Web Service Consumer Transformation
    dialog box appears.
  2. Browse and select a WSDL data object to define the web service request and response messages.
    If the WSDL is not in the repository, you can import the WSDL from the New Web Service Consumer Transformation dialog box.
  3. Browse and select an operation from the WSDL.
    You can choose an operation that has a SOAP 1.1 binding or SOAP 1.2 binding.
  4. Click
    Next
    .
    The
    Map Ports to the Operation Input
    screen appears. The
    Ports
    area shows the transformation input groups and input ports. The
    Operation Input
    area shows the request message hierarchy.
    The Map Ports to the Operation Input screen of the New Web Service Consumer Transformation dialog box shows the operation input hierarchy. The Ports area on the left displays the transformation input ports. The Operation Input area on the right displays the nodes that are mapped to input ports.
  5. Define the input groups and input ports and map the input ports to operation input nodes.
  6. Click
    Next
    .
    The
    Map Ports from the Operation Output
    screen appears. The
    Operation Output
    area shows the response message hierarchy. The
    Ports
    area shows the transformation output groups and output ports.
    The Map Ports from the Operation Output screen of the New Web Service Consumer Transformation dialog box shows the operation output hierarchy. The Operation Output area on the left displays the nodes that the web service returns to the transformation. The Ports area is on the right displays the transformation output ports that are mapped from the nodes.
  7. Define the output groups and output ports, and map the operation output nodes to the output ports.
  8. Click
    Finish
    .
  9. Click the
    Advanced
    view to configure the transformation properties and the web services connection.

0 COMMENTS

We’d like to hear from you!