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 Karl Baum <kb...@tallan.com> on 2004/01/02 18:29:25 UTC

fault tolerant bean serializer


When using the bean serializer, I have noticed that when there is an
extra field on the SOAP XML object which is not present on the client
side bean, a fatal SAXParser exception is thrown and the service fails.
Is it possible to make the bean serailizer and bean deserializer fault
tolerant.  

A good example of a fault tolerant XML Serializer is the XMLEncoder and
XMLDecoder which comes with java 1.4  The java doc states the following:
	
"Fault tolerant: Non-structural errors in the file, caused either by
damage to the file or by API changes made to classes in an archive
remain localized so that a reader can report the error and continue to
load the parts of the document which were not affected by the error."

Is this behaviour easily possible with the axis bean serializers?

Thanks.

Karl