Support of xsi:nil="false" -------------------------- Key: AXIS2-4476 URL: https://issues.apache.org/jira/browse/AXIS2-4476 Project: Axis 2.0 (Axis2) Issue Type: Improvement Components: adb Affects Versions: 1.4.1 Reporter: Johannes Dietrich
Our backend system sends <type xsi:nil="false">10</type> when the attribute is defined in the wsdl as nillable="true". Without a custom fixing with the following code (in org.apache.axis2.databinding.utils.BeanUtil.deserialize(Class, OMElement, ObjectSupplier, String)), null would be returned. Object partObj; boolean isNil = false; if (attribute != null) { String nilValue = attribute.getAttributeValue(); if("true".equals(nilValue) || "1".equals(nilValue)){ isNil = true; } } if (isNil) { partObj = null; } else { if (SimpleTypeMapper.isSimpleType(parameters)) { -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.