Description
When deserializing an Array it passes parent OMElement recursively to the deserialize method in order to process all array elements. But when xsi:type attribute present on the parent element deserialize method locally override array type using xsi:type value, this result into a infinite loop.
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<ns2:echoObject xmlns:ns2="http://sample">
<ns2:argObj xmlns:ns1="http://sample/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:QueryBean">
<ns1:columnList>abc</ns1:columnList>
<ns1:columnList>gef</ns1:columnList>
</ns2:argObj>
</ns2:echoObject>
</soapenv:Body>
</soapenv:Envelope>
Attachments
Issue Links
- duplicates
-
AXIS2-5199 Deserialization of an array type property of a bean, while calling a web-service operation with an array of beans in the request, gives error
- Resolved