Hi there,

I wanted to use axis to send db-objects that are generated by torque (3.0) via 
soap. I tried the bean{de}serializer and my own serializers for that but they 
all have one common problem. These objects have some properties that are 
abstract classes, e.g. 
public abstract class ObjectKey implements Serializable, Comparable

So the deserialization fails because the object can't be instantiated:
org.xml.sax.SAXException: Unable to create JavaBean of type 
org.apache.torque.om.ObjectKey.  Missing default constructor?  Erro
    at 
org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:161)

So what can I do? Any way to ignore this property or something?

Thanks,

Carsten
-- 
Dipl.-Inf. Carsten Burghardt
PGP: http://www.magic-shop.de/Carsten_Burghardt.asc

Reply via email to