|
Build a single java class, say ComplexTypeWrapper, which
you map to all XSD complex types which appear as inputs or return values of
dynamically invoked web services. What I put in my version of this class
is the xml type, if known, and the Element holding the data. You have to
provide your own serializer/deserializers.
If you look at the WSIF DynamicInvoker sample, you'll see code
which does the right thing with various simple types. You need to add
another branch for all complex types.
Using the org.apache.wsif.schema stuff may help with the
determination of what things are complex types (as opposed to derived
simple types not handled by the branches in the dynamic invoker
sample.)
Jeff
|
- Getting raw xml back from WSIF jdepons
- Jeff Greif
