WSDL Tutorials - Herong's Tutorial Examples - Version 2.03, by Dr. Herong Yang
wsdlx:safe="true|false" Operation Safety
This section describes the operation safety flag added to operations. The safety flag wsdlx:safe='true|false' is provided as part of WSDL 2.0 Extension language.
What Is Operation Safety? Operation safety is a Boolean flag that can be added to an operation in an abstract interface. This safety flag will indicate whether this operation is safe.
Operation Safety is not defined in the WSDL 2.0 Core language. So it is added as part of WSDL 2.0 Extension. So to use Operation Safety flag, you need to:
1. Add the WSDL 2.0 Extension namespace prefix in the "description" element:
<wsdl:description xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions" ...> ... </wsdl:description>
2. Add the "safe" attribute to the "operation" element in "interface":
<wsdl:interface ... > <wsdl:operation ... wsdlx:safe="true|false"> ... </wsdl:operation> </wsdl:interface>
Last update: 2009.
Table of Contents