Hi Folks,

I'm using Axis and it's been going great so far, but I just noticed
something that I need to fix.  I'm using a doc/lit style and have a
wsdl document and an XSD, and Axis generates Java classes for me.  So
far, so good, the service works great *until* the client adds an XML
element that's not in the schema.  At that point I can no longer
serialize the Axis-generated classes because somewhere in the
org.apache.axis.message.MessageElement (or one of its contained
classes) that's in the _any field there are java.lang.reflect.Methods
which aren't serializable.

Even if they were serializable they're big and I don't need the _any
stuff so I'm wondering if there's some way to turn the _any parsing
off and tell Axis to ignore elements that aren't in the schema.  I
don't see any such options to WSDL2Java but maybe I've missed
something.

Any help appreciated.

Toby

Reply via email to