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 bu...@apache.org on 2002/10/01 17:54:06 UTC

DO NOT REPLY [Bug 13175] New: - Deserialization of two arguments with the same object fails

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13175>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13175

Deserialization of two arguments with the same object fails

           Summary: Deserialization of two arguments with the same object
                    fails
           Product: Axis
           Version: 1.0-rc2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Serialization/Deserialization
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: Markus_Heiden@public.uni-hamburg.de


When I'm calling a method like e.g. get(dvDate date1, dvDate date2) at an axis 
webservice where date1 is the same object as date2 the deserialization of date2 
fails. Axis serializes the object only once with two argument references to it. 
At the deserialization axis gets an deserializer from the factory for date1 and 
parses it correctly. But for date2 it gets a _new_ deserializer from the 
factory and does _not_ parse the argument again, but assumes that this will be 
the same deserializer as for date1 and only tries to read the value again and 
fails, because the factory created a new deserializer.

When calling the above method with different object everything works fine.