From: <glassfish_at_javadesktop.org>
Date: Wed, 09 Jan 2008 08:50:08 PST
Hi. The easiest way to define a complex type is to use the @XmlSeeAlso tag that's part of JAX-WS 2.1. There's a sample bundled with JAX-WS 2.1 that demonstrates it's use, type_subsitution. You don't need to write an XML schema, but the custom classes should be JavaBeans.