Home >Online Product Documentation >Table of Contents >The Operation Element
The Operation element typically consists of an Input element and an Output element, though they can be used individually and in different orders to support different types of operations. For example, if you are describing
An optional Fault element can be used for error handling in both request-response and solicit response Operation models.
The structure of an Operation element might look like this:
<wsdl:operation name="Operation-0"> <wsdl:input/> <wsdl:output/> <wsdl:fault/> </wsdl:operation>
Alternative: Right-click the PortType element and choose Add > Operation from the shortcut menu.
Stylus Studio adds an Operation element to the WSDL as a child of the PortType element. The default name is Operation-0, but you can change it. Operation names are not required to be unique.
Operation-0
The name becomes editable.
Alternative: Using the Properties window
Alternative: You can change the Operation name directly in the WSDL text.
The following table describes the properties of the Operation element.