Hi axis-users,
        I am trying to map an xml instance document to axis generated classes using 
castor ( http://castor.exolab.org/ ). 
I have the problem that autogenerated classes from simple types in the schema 
definition do not have a default public constructor with no arguments but 
castor does expect this because of the bean conventions. (There is a 
constructor with an argument instead of a setX method)

So my question goes: Should I rather let axis do the work and map the xml 
document to the java classes; and if this is indeed possible what is the 
general pattern do to this? (Documentation on the deserializer classes seems 
to be spare)

If the approach to use castor for this is not a bad idea, does anyone know how 
to do this without editing the classes by hand?

Thanks in advance for some clarification!
- David

Reply via email to