You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by babloosony <ba...@gmail.com> on 2005/02/04 07:42:52 UTC

Unable to load/instantiate axis custom (De)Serializers

Hi All,

I have written custom (De)Serializers. Basically I have extended
org.apache.axis.encoding.ser.BaseDeserializerFactory  for implemenging
my custom DeSerializer Factory class and I have implemented below 2
methods in my class :
 
public MyCustomDeserializerFactory(Class clas, QName qname)
protected Deserializer getGeneralPurpose(String arg0)


I am now using my custom DeSerializer for an ejb web service exposed
using AXIS 1.2 RC2 on WebSphere 5.0. I have declared  all my
configuration details like typeMapping in my server-config.wsdd file
but somehow when my service starts up I see error messages  on
WebSphere like "Unable to create MyCustomDeserializerFactory instance"

Under what scenarios such error appear and I am not understanding when
my DeSerializer class is getting instantiated and  somehow I feel that
my DeSerializer class constructor MyCustomDeserializerFactory(Class
clas, QName qname) is not  called. I am not sure but just this is a
wild guess ...


Please suggest ....



Thanks & Regards,
Kumar.