Skip to main content

feature does not work with XJC -wsdl option ?

1 reply [Last post]
vmarcinko
Offline
Joined: 2007-07-25
Points: 0

Hello.

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.

Regards,
Vjeran

Reply viewing options

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

It would be great if you can file an issue in http://jaxb.dev.java.net/issues/ and attach a test case.