Description
This is related to https://jira.jboss.org/jira/browse/JBWS-2591 .
Basically, when running the tools (wsdl -> java) the @XmlList annotation is added to the SEI only for rpc/lit wsdl as there's a check for !part.isElement().
This prevents doc/lit bare methods from having the @XmlList annotation for both return type and parameters in the SEI.
The use case that revealed this is the com/sun/ts/tests/jaxws/ee/w2j/document/literal/marshalltest/Client.java#MarshallListTypesTest_from_wsappclient_reverse test in the JAXWS module of JavaEE CTS TCK. It's also reproduced in a minimal testcase linked at https://jira.jboss.org/jira/browse/JBWS-2591 .