You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Joop Zonnet <gk...@gmail.com> on 2021/11/23 16:05:05 UTC

Collection naming

Hi dear follow users of CXF,

I have some WSDLs/XSDs for reaching a SOAP-service that contains a set of
collections in their requests.
I can generate the Java classes successfully. But when I look at the
collection properties: they end up being singular only where I would expect
plural:
<xs:element name="Position" type="OrderPos" maxOccurs="unbounded">
to result in:
List<OrderPos> positions
but it shows up as:
List<OrderPos> position

Any idea as to how I should go about fixing this, please?

with kind regards,
Gerke