Skip to main content

feature does not work with XJC -wsdl option ?

1 reply [Last post]
Joined: 2007-07-25


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.


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-09

It would be great if you can file an issue in and attach a test case.