Simon,

I was able to recreate this outside of Tuscany using a Java 6 JRE with a
call to JAXBContext.generateSchemas().

(I only borrowed from Tuscany the JAXBTypeHelper$DOMResolver which I don't
think matters... but the exact way the SchemaOutputResolver is used seems a
bit odd).

Anyway my wrapper elements were created with nillable="true", though the
JAXB spec says the default should be false as far as I can tell (plus that's
what we started with in the original XSD).

Apparently wsgen is doing something more than simply relying on this
generateSchemas() method.. I wonder if this is a bug in the JAXB RI?

Scott

Reply via email to