Re: WSDL @XmlRootElement annotation from jaxws-maven-plugin

2021-10-23 Thread Mantas Gridinas
As far as I remember, the element must only ever appear as root element to qualify as root element. If it ever appears as child to some other element it can no longer get such annotation. I think I found that while reading Kohsuke's posts in the archive. https://web.archive.org/web/20160117210900/

WSDL @XmlRootElement annotation from jaxws-maven-plugin

2021-10-22 Thread Delany
hi. Im cleaning up some old projects and I seem to have an issue with the jaxws-maven-plugin. To produce working code the wsimport goal must be followed by maven-jaxb2-plugin with forceRegenerate=true. It seems jaxws-maven-plugin can't annotate classes with @XmlRootElement and that's why maven-jaxb