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

Step 1. Create a Web Service from a WSDL Data Object

Step 1. Create a Web Service from a WSDL Data Object

When you create a web service from a WSDL data object, the Developer tool uses information defined in the WSDL data object to create an operation mapping for each operation in the web service.
  1. Select a project or folder in the
    Object Explorer
    view.
  2. Click
    File
    New
    Data Service
    .
    The
    New Data Service
    dialog box appears.
  3. Click
    Web Service from a WSDL data object
    , and then click
    Next
    .
  4. To create a WSDL data object, click
    New WSDL Data Object
    .
    1. Click
      Browse
      next to the
      Location
      option to enter the location of the WSDL. Click
      OK
      .
    2. Enter a name for the WSDL.
    3. Click
      Finish
      .
  5. Enter a name for the web service.
  6. Click
    Browse
    next to the
    WSDL Data Object
    option to select the WSDL data object.
  7. Click
    Browse
    next to the
    Operation
    option to select one or more operations that you want to include in the web service.
    The WSDL data object can contain multiple bindings of SOAP 1.1 and SOAP 1.2 formats. You can select a specific operation from only one of these bindings.
  8. Click
    Next
    .
  9. By default, the SOAP version of the operation you select will be displayed as the
    Operation Type
    .
  10. Optionally, select the
    Mapping Input
    tab for each operation input to map data from the operation input to the output ports.
    You can also map the data when you configure the Input transformation.
  11. Optionally, select the
    Mapping Output
    tab for each operation output to map data from the input ports to the operation output.
    You can also map the data when you configure the Output transformation.
  12. Optionally, select the
    Mapping Fault
    tab for each operation fault to map data from the input ports to the operation fault.
    You can also map the data when you configure the Fault transformation.
  13. Click
    Finish
    .