Apache CXF JAX-WS @XmlElementWrapper annotation handling in Request/Response wrappers
<p>I have a JAX-WS service that has a method with a request wrapper configured:</p>

<p>The method:</p>

<pre><code>@RequestWrapper(className=TheRequestWrapper.class)
public void doAction(
    @WebParam(name = "Requests")
    List&lt;Request&gt; requests);
</code></pre>

<p>The wrapper class:</p>

<pre><code>@XmlAccessorType(XmlAccessType.PROPERTY)
public class TheRequestWrapper {
    private List&lt;Request&gt; requests = new ArrayList&lt;Request&gt;();

    @XmlElementWrapper(name = "Requests", required = true)
    @XmlElement(name = "Request")
    public List&lt;Request&gt; getRequests() {
       return requests;
    }
}
</code></pre>

<p>Apache CXF (version 2.7.3) does not seem to be able to handle @XmlElementWrapper correctly.
When mapping the SOAP XML:</p>

<pre><code>&lt;Requests&gt;
  &lt;Request&gt;
    ...
  &lt;/Request&gt;
&lt;/Requests&gt;  
</code></pre>

<p>to the service call the </p>

<pre><code>List&lt;Request&gt; requests
</code></pre>

<p>list remains empty.</p>

<p>JAX-WS RI used to handle this correctly but we're moving to Apache CXF. Any ideas how to make this work with Apache CXF?</p>

<p>Thanks</p>
