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: user@xfire.codehaus.org Emne: [xfire-user] WSDL and inheritance -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 - -- you too? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGClUd1Tv8wj7aQ34RApbVAJ0WJ9zi0595m4jb8iX/VBw6Rc29uwCfW/PH p/85t0CSt42dfG8OsA8dWfU= =p8sc -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
<<winmail.dat>>
--------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email