2008/9/24 Felipe Gaścho <fgaucho_at_gmail.com>
> > as if it was only object of type X and it does not serialize attributes
> > defined in Y.
>
> Of course not :) if you refer an objetc as X, it only will handle
> members of type X.. it is expected...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
> No expected behaviour is that web service client should send object taht is
actually referenced by x field. In this case it is object of type Y. This is
called polymorphism ;)
In my case it does not look at extra attributes defined in Y it only takes
care of attributes defined in X.