Hi,
I tried to use JacksonXMLProvider in combination with wadl2java (this is
a bit related to the schemavalidation question before, but I think it's
worth a separate thread).
version: CXF 3.1.6
I get this exception:
com.sun.istack.internal.SAXException2: unable to marshal type
"...RequestType" as an element because it is missing an @XmlRootElement
annotation
If I manually add @XmlRootElement (without any namespace) to the
generated classes (Request/Response), then everything works.
What is the correct way to fix this?
Best regards,
Johannes