FWIW: Microsoft's MapPoint Web Service uses a little polymorphism. (http://staging.mappoint.net/standard-30/MapPoint.wsdl)
Though it didn't run without problems, the Axis v1.0 WSDL2java did properly create the mappings for MapView and it's descendants, though they're relatively simple objects. > -----Original Message----- > From: K P [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2003 2:19 PM > To: [EMAIL PROTECTED] > Subject: Polymorphism in Web Services (badly need help here) > > > I am trying to understand how we can use polymorphic objects in web > services. Is there any standard way to define sub-types in the > WSDL? If you > manually add complex types to the types element in the WSDL, will the > clients be able to use these explicitly non-referenced sub-types? > > I have tried to use Axis wsdltojava, it did not generate client code for > such non-referenced sub-types. Is this just a local problem with the Axis > tool or is it problem accross Java based and non-Java based SOAP > implementations? > > What are the guidelines for using Polymorphism in Web Services? > How do you > use lists like ArrayLists and Maps without such basic support for > Poloymorphism? > > Any information in this area will be highly appreciated. > > Thanks a lot, > > Kiran. > > _________________________________________________________________ > STOP MORE SPAM with the new MSN 8 and get 2 months FREE* > http://join.msn.com/?page=features/junkmail > >
