On Wed, Jan 19, 2005 at 03:52:38PM -0500, toby cabot wrote: > 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.
Still haven't found what I was looking for, but as a workaround it seems to work OK to wash the Axis-generated classes through an Ant filter to change the _any fields to transient: Have wsdl2java put its output in build/generate-axis-raw, then: <copy toDir="build/generate-axis"> <fileset dir="build/generate-axis-raw"> <include name="**/*.java" /> </fileset> <filterset begintoken="p" endtoken=";"> <filter token="rivate org.apache.axis.message.MessageElement [] _any" value="private transient org.apache.axis.message.MessageElement [] _any;"/> </filterset> </copy>