feature does not work with XJC -wsdl option ?
I have predefined WSDL file with schema part inside it (request/response elements) that I want to generate message classes from.
Of course, I use XJC with its experimential -wsdl option for processing .wsdl files, and because I want these top level request/response classes to be annotated with @XmlRootElement, I use setting in my binding file. But unfortunately, it doesn't work :-(
If I extract schema parts from my .wsdl into some .xsd, and then process this .xsd individually with XJC (now without -wsdl option), then feature works fine, and my classes have @XmlRootElement annotation.