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/13 20:28:17 UTC

[jira] Created: (AXIS-1762) xs:list attributes do not deserialize

xs:list attributes do not deserialize
-------------------------------------

         Key: AXIS-1762
         URL: http://issues.apache.org/jira/browse/AXIS-1762
     Project: Axis
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: current (nightly)    
    Reporter: Steve Green
 Attachments: 1762.patch

This bug is the deserializer side of the same bug as AXIS-1752.

When receiving messages that contain attributes consisting of a list, the attribute is not deserialized.

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 deserialize the "value".

2. BeanDeserializer doesn't have any code to deserialize 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


[jira] Updated: (AXIS-1762) xs:list attributes do not deserialize

Posted by "Steve Green (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1762?page=history ]

Steve Green updated AXIS-1762:
------------------------------

    Attachment: 1762.patch

This patch is one way to fix the problem.

> xs:list attributes do not deserialize
> -------------------------------------
>
>          Key: AXIS-1762
>          URL: http://issues.apache.org/jira/browse/AXIS-1762
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>  Attachments: 1762.patch
>
> This bug is the deserializer side of the same bug as AXIS-1752.
> When receiving messages that contain attributes consisting of a list, the attribute is not deserialized.
> 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 deserialize the "value".
> 2. BeanDeserializer doesn't have any code to deserialize 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


[jira] Updated: (AXIS-1762) xs:list attributes do not deserialize

Posted by "Steve Green (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1762?page=history ]

Steve Green updated AXIS-1762:
------------------------------

    Attachment: 1762.diff-u

diff -u version of the patch

> xs:list attributes do not deserialize
> -------------------------------------
>
>          Key: AXIS-1762
>          URL: http://issues.apache.org/jira/browse/AXIS-1762
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>  Attachments: 1762.diff-u, 1762.patch
>
> This bug is the deserializer side of the same bug as AXIS-1752.
> When receiving messages that contain attributes consisting of a list, the attribute is not deserialized.
> 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 deserialize the "value".
> 2. BeanDeserializer doesn't have any code to deserialize 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


[jira] Updated: (AXIS-1762) xs:list attributes do not deserialize

Posted by "Tom Jordahl (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1762?page=all ]

Tom Jordahl updated AXIS-1762:
------------------------------

    Attachment: 1752-and-1762-diff.txt

I am attaching an updated version of the patch for both this bug and 1752.  This patch causes the test/wsdl/gateway functional test to fail.  Steve, if you can resolve this problem I can submit this patch.


> xs:list attributes do not deserialize
> -------------------------------------
>
>          Key: AXIS-1762
>          URL: http://issues.apache.org/jira/browse/AXIS-1762
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>  Attachments: 1752-and-1762-diff.txt, 1762.diff-u, 1762.patch
>
> This bug is the deserializer side of the same bug as AXIS-1752.
> When receiving messages that contain attributes consisting of a list, the attribute is not deserialized.
> 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 deserialize the "value".
> 2. BeanDeserializer doesn't have any code to deserialize 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS-1762) xs:list attributes do not deserialize

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1762?page=all ]
     
Davanum Srinivas resolved AXIS-1762:
------------------------------------

    Resolution: Fixed

fixed.

thanks,
dims

> xs:list attributes do not deserialize
> -------------------------------------
>
>          Key: AXIS-1762
>          URL: http://issues.apache.org/jira/browse/AXIS-1762
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>  Attachments: 1752-and-1762-diff.txt, 1762.diff-u, 1762.patch
>
> This bug is the deserializer side of the same bug as AXIS-1752.
> When receiving messages that contain attributes consisting of a list, the attribute is not deserialized.
> 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 deserialize the "value".
> 2. BeanDeserializer doesn't have any code to deserialize 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira