users@jax-ws.java.net

Re: Implicitly generation schema mapping

From: Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
Date: Thu, 14 Dec 2006 10:57:34 -0800

Did you experiment with @XmlSeeAlso(is available in 2.1) ? I think that
should fix thi.

Jitu

Dima Gutzeit wrote:

> Hi,
>
> In my domain object model I have abstract classes with several objects
> extending it.
>
> Webservices receiving and returning the base class, and not the
> implemenations.
>
> The problem is that upon generation of WSDL artifacts the schema does
> not contain the specific implementation, but only the abstract classes.
>
> Is there a way to implicitly "tell" JAX-WS to generate mapping for
> those classes ?
>
> Thanks in advance.
>
> Regards,
> Dima Gutzeit.
>
> P.S. - I know I can reference to those objects from somewhere in the
> code, and it will do the trick but this is an ugly way :-(
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>