You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Steve Green (JIRA)" <ax...@ws.apache.org> on 2005/01/05 21:20:13 UTC

[jira] Updated: (AXIS-1752) xs:list attributes do not serialize

     [ http://issues.apache.org/jira/browse/AXIS-1752?page=history ]

Steve Green updated AXIS-1752:
------------------------------

    Attachment: 1752.diff

This patch adds the code to generate the indexed getter and setter, as well as the code to serialize attributes that are indexed.  Please note that this diff is big mainly because I changed tabs to spaces and refactored some code into a function.

> xs:list attributes do not serialize
> -----------------------------------
>
>          Key: AXIS-1752
>          URL: http://issues.apache.org/jira/browse/AXIS-1752
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>  Attachments: 1752.diff
>
> When sending messages that contain attributes consisting of a list, the attribute is not serialized.
> The problem appears to be for 2 reasons.
> 1.  wsdl2java does not generate the indexed getter and setter methods.  The bean introspector does not recognize the method as a list method and thus the serializer fails when trying to serialize the "value".
> 2.  BeanSerializer doesn't have any code to serialize attributes that are indexed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira