[infod-wg] latest WSDL 2.0 specs

Stephen Davey sdavey at nesc.ac.uk
Fri Aug 26 08:55:27 CDT 2005


Hi everyone,

 

The latest version of the WSDL 2.0 Primer can be found at
http://www.w3.org/TR/wsdl20-primer/   (W3C Working Draft 3 August 2005).

The latest version of the WSDL 2.0 Core spec is
http://www.w3.org/TR/wsdl20/   (W3C Working Draft 3 August 2005).

 

The WSDL 2.0 Primer is good to read for non-experts like me. In section
2.4.2 it introduces interface inheritance and says ...

2.4.2 Interface Inheritance

The optional extends attribute allows an interface to extend or inherit
from one or more other interfaces. In such cases the interface contains
the operations of the interfaces it extends, along with any operations
it defines directly. Two things about extending interfaces deserve some
attention.

First, an inheritance loop (or infinite recursion) is prohibited: the
interfaces that a given interface extends must NOT themselves extend
that interface either directly or indirectly.

Second, we must explain what happens when operations from two different
interfaces have the same target namespace and operation name. There are
two cases: either the component models of the operations are the same,
or they are different. If the component models are the same (per the
component comparison algorithm defined in WSDL 2.0 Part 1 [WSDL 2.0 Core
<http://www.w3.org/TR/wsdl20-primer/#WSDL-PART1#WSDL-PART1> ] "
Equivalence of Components
<http://www.w3.org/TR/2005/WD-wsdl20-20050803#compequiv>  ") then they
are considered to be the same operation, i.e., they are collapsed into a
single operation, and the fact that they were included more than once is
not considered an error. (For operations, component equivalence
basically means that the two operations have the same set of attributes
and descendents.) In the second case, if two operations have the same
name in the same WSDL 2.0 target namespace but are not equivalent, then
it is an error. For the above reason, it is considered good practice to
ensure that all operations within the same target namespace are named
uniquely....

 

Cheers,

Stephen.

 

----------------------------------------------------------------------

Stephen Davey,  NextGrid Software Architect,

National e-Science Centre,

15 South College St., Edinburgh, EH8 9AA, UK

Tel: +44 131 6 509820

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/infod-wg/attachments/20050826/adfb7496/attachment.html 


More information about the infod-wg mailing list