-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi again Oyvind,
Thanks - that worked fine. Looks like the latest version also supports the definitions defined in the services.xml document. Cheers, Johan Johan Lindquist wrote: > Hi Oyvind, > > Thanks for the pointer - I missed the part about POJO inheritance before. > > Will give it a go. > > Johan > > Øyvind Matheson Wergeland wrote: >> Hi Johan, > >> XFire does support inheritance with some limitations. Your case should be >> covered though. How to do it depends on which binding mechanism you use. If >> you haven't set a binding, your using Aegis, so I suggest you start reading >> here: http://xfire.codehaus.org/Aegis+Inheritance > >> -Øyvind > >> -----Opprinnelig melding----- >> Fra: Johan Lindquist [mailto:[EMAIL PROTECTED] >> Sendt: on 28.03.2007 13:44 >> Til: [email protected] >> Emne: [xfire-user] WSDL and inheritance > >> Hi all, > >> I have a simple webservice which (to use the examples from XFire) looks >> like this: > >> public String createBook(Book book); > >> Now, Book is a base-class and I have specialized types (Comic, Language >> , etc) which are sub-classes of it [Book]. > >> When I deploy the service and look at the WSDL, only Book is defined and >> the rest omitted. > >> However, if I change the API to: > >> public String createBook(ComicBook book); > >> the Comic book is defined as expected. The resulting API does however >> not accomodate new books very easily as a new method would have to be >> added for each. Can you force XFire to define the types within the WSDL >> without having them defined on the API? Or am I missing something >> fundamental here? > >> Thanks, > >> Johan > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > > > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > - --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email - -- you too? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGCnTy1Tv8wj7aQ34RAhatAJ9qtptvz4064OUH4/aMIwicmFilOQCfVQZd BLximsWNcxGVgVyYbAG9IxU= =0np/ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
