The Fault Element

Within an Operation element, the Fault element is used for error handling, typically with the Web service sending a message to the client.

See The Operation Element for more information.

How to Create a Fault Element

To create a Fault element:
1. Select the Operation element whose Fault element you want to describe.
2. Select Diagram > Add > Fault from the Stylus Studio menu.

Alternative: Right-click the Operation element and choose Add > Fault from the shortcut menu.

Stylus Studio adds a Fault element to the WSDL as a child of the Operation element. The default name is Fault, and you cannot change it.

Fault Element Properties

The following table describes the properties of the Fault element.

Name
Description
Message
The Message associated with this Fault element.
Table 111. Output Element Properties

 
Free Stylus Studio XML Training: