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

Creating an Operation from the New Operation Wizard

Creating an Operation from the New Operation Wizard

Use the New Operation wizard to create an operation after you have created a web service manually.
  1. Choose a method to create an operation.
    • From the Object Explorer, right-click on a web service and select
      New
      Operation
      .
    • From the Outline View, right-click on a web service and select
      New
      Operation
      .
    • Open a web service in the
      Object Explorer
      and select
      Overview
      Operations
      area. Click the arrow next to the
      New
      button.
    The
    New Operation
    dialog box apears.
  2. Enter a name for the operation and optionally enter a description.
    The Developer tool uses the operation name to define the names for the operation input and the operation output.
  3. Click
    Next.
  4. Select the binding type of the operation.
    Default is SOAP 1.1. You cannot change the binding type of the operation after you have created and saved the operation.
  5. 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.
  6. 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.
  7. Optionally, click the arrow next to the
    New
    button to create a Fault for the operation.
    You can choose to create each element for the fault message or select reusable elements. The wizard adds the elements to the detail element in the fault message. You can also map the data when you configure the Fault transformation.
  8. Click
    Finish
    .
You can optionally create an element or a predefined fault.