mojohaus / jaxws-maven-plugin

https://www.mojohaus.org/jaxws-maven-plugin/
Apache License 2.0
25 stars 37 forks source link

Schema element with nillable="true" minOccurs="0" maxOccurs="unbounded" doesn't compile to List<JAXBElement> #64

Open kazik666 opened 6 years ago

kazik666 commented 6 years ago

Hi,

I'm using jaxws-maven-plugin in 2.5 version combined with jaxws-tools in 2.3.0 version and i have problem with generated code, because XML element with nillable="true" minOccurs="0" maxOccurs="unbounded" doesn't compile to List<JAXBElement>. I try many version of this plugin and always in generated code i have List for nillable elements. I found similar question on: https://stackoverflow.com/questions/48849949/jaxbelementt-is-not-getting-generated-in-my-case-when-using-wsimport-to-genera but there wasn't any solution to fix this problem.

Regards, Lukasz