Properties of type List are getting turned into lists of OMElements when it is deserialised for the service -----------------------------------------------------------------------------------------------------------
Key: AXIS2-4165 URL: https://issues.apache.org/jira/browse/AXIS2-4165 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: databinding Affects Versions: 1.4.1 Reporter: Nicholas Daley I'm passing a bean to my service which has a property of type List. When the service receives it, instead of being a List of the type that the client sent, it has been turned into a List of type OMElementImpl. It looks like the problem is either with SimpleTypeMapper.getArrayList(...) which creates the list for the deserialising code; or where it is called in BeanUtil.deserialize(...) See line 442 at http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_4/modules/adb/src/org/apache/axis2/databinding/utils/BeanUtil.java?annotate=711389&pathrev=711389 Just looking at the code, I noticed an unrelated issue (which I haven't tested). I think it might also be broken for cases where a property is a Collection, but not a List - e.g. if the property expected a Set, I think it would still try to put an ArrayList into it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]