users@jax-ws.java.net

Implicitly generation schema mapping

From: Dima Gutzeit <dima_at_mailvision.com>
Date: Wed, 13 Dec 2006 15:20:38 +0200

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 :-(