axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lamey" <>
Subject Re: Help with user-defined serialization
Date Tue, 27 Aug 2002 19:02:25 GMT
Hello again,

I think the problem is that the child Role element references the outer User
element.  When the child element Role is being deserialized, it references
id0, which is the outer element User, which is null at that point in the
system.  The outer element User reference then stays null somehow, even
though a valid value is created in the UserDeserializer.

I tested this by taking out the outer class serialization in the child
serializer and making the outer class deserializer set the serializer
explicitly.  This means that child can't be serialized on their own because
the parent deserializer has to do the set.

Does that sound like something other people have encountered before?

View raw message