You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by David Turner <tu...@genome.wi.mit.edu> on 2002/04/03 17:52:31 UTC

Customer serializer/deserializer

Has anyone created a customer serializer/deserializer and gotten it to
work?

I used the samples/encoding as a template, but changed the public field
members in Data.java to private, but this causes a NoSuchFieldException
during deserialization because the Class.getFields method is used when
registerTargetValue is called on the deserializer.  getFields() doesn't
work for private field members of a class.

Does anybody have a suggestion on creating a custom serializer to handle
private field members?






Re: Customer serializer/deserializer (Still does not work)

Posted by Christian Gross <ma...@devspace.com>.
Hi

Has this been looked into?  I looked through the mailing list and it has 
been mentioned twice with no specific answer.  So I would like to raise it 
again.  Is this being looked into or what is the plan of action?

Thanks...

At 10:52 03/04/2002 -0500, you wrote:
>Has anyone created a customer serializer/deserializer and gotten it to
>work?
>
>I used the samples/encoding as a template, but changed the public field
>members in Data.java to private, but this causes a NoSuchFieldException
>during deserialization because the Class.getFields method is used when
>registerTargetValue is called on the deserializer.  getFields() doesn't
>work for private field members of a class.
>
>Does anybody have a suggestion on creating a custom serializer to handle
>private field members?

Christian Gross
Software Engineering Consultant
http://www.devspace.com
North America: 1-450-675-4208
Europe +41.1.701.1166