• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Could not find deserializer for type {MyClass} DataHandler

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
i am using webservices with Axis. I am using SOAP with attachment in one of my webservice for FileUpload to the database. When i deploy application and webservices both on websphere 5.1.0.5 it is running fine but when i deploy application on tomcat5 and access webservice from websphere. It give the following error in the log on websphere.

If any one of you having any idea regards to this please help me.


TRAS0014I: The following exception was logged AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: org.xml.sax.SAXException: Deserializing parameter 'dh': could not find deserializer for type {WSUploadAttachmentImpl}DataHandler faultActor: null faultDetail: stackTrace: org.xml.sax.SAXException: Deserializing parameter 'dh': could not find deserializer for type {WSUploadAttachmentImpl}DataHandler at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:276) at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:893) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:200) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:684) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:207) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:265) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:190) at org.apache.axis

Thanks,
Asim
reply
    Bookmark Topic Watch Topic
  • New Topic