Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to load/instantiate axis custom (De)Serializers

 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic