W3C home > Mailing lists > Public > www-ws-desc@w3.org > June 2005

Re: WSDL and classes that instantiate an interface

From: Arthur Ryman <ryman@ca.ibm.com>
Date: Tue, 7 Jun 2005 14:35:04 -0400
To: daniel.goodman@worcester.oxford.ac.uk
Cc: www-ws-desc@w3.org, www-ws-desc-request@w3.org
Message-ID: <OF1F3DB561.F457858A-ON85257019.00651A2C-85257019.0066149D@ca.ibm.com>

This is the right place to discuss the problem if it translates into an 
important use case that WSDL 2.0 should support.

Can you be more concrete? I don't know what you mean by parameter X being 
an interface. Are you talking about a programmatic interface? If so, it 
sounds like you are talking about distributed objects, which isn't really 
what Web services do well.

However, you can certainly send Web service endpoints in messages, and 
specify their WSDL interface.

Arthur Ryman,
Rational Desktop Tools Development

phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: 4169395063@fido.ca
intranet: http://labweb.torolab.ibm.com/DRY6/

Daniel Goodman <Daniel.Goodman@worcester.oxford.ac.uk> 
Sent by: www-ws-desc-request@w3.org
05/30/2005 04:06 PM
Please respond to


WSDL and classes that instantiate an interface

Am not entirely sure that this is the right place to ask, so sorry if I
am in the wrong place. If you could point me to the right place that
would be grate.

My problem is I want to send trees which have a range of different types
of node as a SOAP document to a web service. The Trees are created by a
recursive data structure, so an interface which all trees must satisfy,
and a set of classes which implement this interface. Encoding this into
SOAP isn't a problem, but what I can't seem to find is how I can specify
this as a web service interface. I would expect that the is a way to
describe this in WSDL, but I can't find anywhere how to specify that
parameter X in a method is an interface which is implemented by A, B and
C. So allowing different data elements in A, B and C. ie. A is a leaf
node, and B and C are different types of branch nodes.

Any help would be greatly appreciated



Daniel Goodman <Daniel.Goodman@worc.ox.ac.uk>
Received on Tuesday, 7 June 2005 18:35:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:54:54 UTC