users@jax-ws.java.net

Exporting whole package in WSDL

From: Dinko Tenev <dinko.tenev_at_gmail.com>
Date: Mon, 6 Mar 2006 14:46:15 +0200

Is there a way to have the WSDL definition for a service describe each
and every class present in a package?

I expected that annotating the package with @XmlSchema(...) would be
enough, but the generated WSDL only mentions classes that are directly
referenced from the exported interface. This is not what I want, as I
need to export a whole hierarchy of which the interface mentions only
a few base classes.

What's the proper way to do this?


Cheers,

Dinko