W3C home > Mailing lists > Public > www-ws-desc@w3.org > January 2006

Clarification required on Interface Extension

From: John Kaputin (gmail) <jakaputin@gmail.com>
Date: Fri, 13 Jan 2006 14:17:10 +0000
Message-ID: <4c2ae8f80601130617n408c2c43id56a802597cedd08@mail.gmail.com>
To: www-ws-desc@w3.org
Cc: John Kaputin <KAPUTIN@uk.ibm.com>, woden-dev@ws.apache.org
Hi,
I am trying to implement extended interfaces in the Apache Woden WSDL
2.0processor and I would like clarification on the scope of the
Interface
properties with respect to interface extensions. See Part 1 section
2.2.1The Interface Component.

This section  contains the text: "The set of operations available in an
interface includes all the operations defined by the interfaces it extends,
along with any operations it directly defines."  So I would expect the
{interface operations} property of  the Interface component to contain its
own directly defined operations and the operations from any Interfaces it
extends. That is, a flattened, abstract view of all the Interface Operations
accessible by the Interface.

However, this section also contains the text:
"The operations directly defined on an interface are referred to as the *
declared* operations of the interface."
"{interface operations} OPTIONAL. A set of declared Interface
Operation<http://www.w3.org/TR/2006/CR-wsdl20-20060106/#component-InterfaceOperation>components.
"

The use of 'declared' in this latter text suggests that {interface
operations} contains only the operations directly defined by the interface,
but NOT those defined by interfaces that it extends. In which case to get
the complete set of operations available to the Interface, I would need to
access it's {extended interfaces} property and retrieve the operations from
those interfaces too. Can someone please carify this for me?

Likewise, this section contains the text:
"{extended interfaces} OPTIONAL. A set of declared
Interface<http://www.w3.org/TR/2006/CR-wsdl20-20060106/#component-Interface>components
which this interface extends."

What does 'declared' mean here .... just the <interface> elements directly
defined within the containing <description>? Or as section 2.19 QName
Resolution suggests, does {extended interfaces} contain the Interfaces
directly defined within the containing Description AND any Interfaces
included or imported by that Description?

Thanks,
John Kaputin.
Received on Friday, 13 January 2006 14:17:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:38 GMT