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

 About This Book

 Introduction to WSDL 2.0

 WSDL 2.0 Document Structure and Syntax

WSDL Version 2.0 Part 2: Adjuncts

 WSDL Message Exchange Patterns

wsdlx:safe="true|false" Operation Safety

 Operation Message Styles

 SOAP Binding Extension

 SOAP 1.2 Binding Rules

 WSDL 2.0 Document Examples with SOAP Binding

 WSDL 20 Programming APIs and Testing Tools

 Introduction to WSDL 1.1

 WSDL 1.1 Document Structure and Syntax

 WSDL 1.1 Binding Extension for SOAP 1.1

 soapUI 3.0.1 - Web Service Testing Tool

 WSDL 1.1 and SOAP 1.1 Examples - Document and RPC Styles

 PHP SOAP Extension in PHP 5.3.1

 Using WSDL in Perl with SOAP::Lite 0.710

 Using WSDL Document in Java with Axis2 1.4.1

 Using WSDL2Java to Generate Web Service Stub Classes

 WSDL 1.1 Binding Extension for SOAP 1.2

 WSDL 1.1 and SOAP 1.2 Examples - Document and RPC Styles

 SOAP 1.2 Binding - PHP, Java and Perl Clients

 WSDL Related Terminologies

 References

 PDF Printing Version