I'm using clientgen to generate client-side classes from third party WSDLs. Then I'm using wsgen to create my web service, bundling up my classes, as well as the generated ones.
The jaxws-maven-plugin wsgen throws JAXBContext IllegalAnnotationsException
complaining that the generated classes do not have a no-arg default constructor.
One solution that I saw on this site was to wrap the classes in XMLWrappers
. Problem is the third-party classes are used in the third-party methods that I don't have control over.
Is there a solution or workaround for this?