-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- --
you too?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGCm/31Tv8wj7aQ34RAnEkAJ9kxXpZyTrsJl9ZtPUYSMO7ac0ieQCfXcSe
6GayoDa3PLsVNwkK0vmlQUM=
=k7KO
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to