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.
Open a web service.
In the
Outline
view, select the operation mapping.
The operation mapping appears in the editor.
In the editor, right-click and select
Add Transformation
.
The
Add Transformation
dialog box appears.
Select
Fault
and click
OK.
The
Add Fault
dialog box appears.
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.
Click
OK.
The Fault transformation appears as a generic fault or a predefined fault.