Hi
I was testing passing arrays as parameters and I have noticed that CXF
throws javax.xml.stream.XMLStreamException if array data is present in
request. An example (generated by soapUI):
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:test="http://test/">
<soapenv:Header/>
<soapenv:Body>
<test:test2>
<!--Zero or more repetitions:-->
<arg0>1</arg0>
<arg0>2</arg0>
<!--Optional:-->
<arg1>foo</arg1>
</test:test2>
</soapenv:Body>
</soapenv:Envelope>
If I remove a comment between arg0 and arg1 everything is ok. For some
reason this bug is triggered by enabling
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor. After further
investigation I've discovered this -
http://jira.codehaus.org/browse/XFIRE-1072 - and
org.apache.cxf.staxutils.AbstractDOMStreamReader shares the same behavior.
Any reason why fix prepared by pmarsteau cannot be aplied? It looks sane
IMO.
CXF 2.1.1, JAX-WS + JAXB.