Hi axis-users,
yet another question (...) I'm just tinkering around with the
org.apache.axis.encoding.ser.castor.* classes. I have type mappings in my
axis deployment descriptor like the following:
<typeMapping
xmlns:ns="http://www.suva.ch/schemas/20030722/SalaryDeclaration"
qname="ns:CompanyType"
type="java:ch.itserve.lohnstandard.piv.CompanyType"
serializer="org.apache.axis.encoding.ser.castor.CastorSerializerFactory"
deserializer="org.apache.axis.encoding.ser.castor.CastorDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
All beans are autogenerated classes from the castor. When trying to deploy the
service with the AdminClient I get a classcastexception I cannot understand
[java] Exception:: org.apache.axis.deployment.wsdd.WSDDException:
java.lang.ClassCastException
[java] java.lang.ClassCastException
[java] at
org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:257)
[java] at
org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:549)
Is it supposed to work?
Thanks a lot!
-David