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

Creating a Fault Transformation

Creating a Fault Transformation

You can create a generic fault or a predefined Fault transformation. For a generic fault, the web service WSDL does not define the fault element. For a predefined fault, the web service uses a fault element to define the fault.
  1. Open a web service.
  2. In the
    Outline
    view, select the operation mapping.
    The operation mapping appears in the editor.
  3. In the editor, right-click and select
    Add Transformation
    .
    The
    Add Transformation
    dialog box appears.
  4. Select
    Fault
    and click
    OK.
    The
    Add Fault
    dialog box appears.
  5. To create a fault transformation, complete one of the following steps.
    • Select
      Create as a generic fault
      .
    • Select
      Create as a predefined fault from a fault element
      .
      The web service contains an element that defines the fault.
  6. Click
    OK.
    The Fault transformation appears as a generic fault or a predefined fault.

0 COMMENTS

We’d like to hear from you!