Hi, I would appreciate if anyone could help me on this.
I wrote a web service and the corresponding client API that has file transfers
based on the attachments example in Axis 1.1, that is I'm using the DataHandler
class.
In my client API, the typemapping is at follows:
call.registerTypeMapping(
dhSource.getClass(),
qnameAttachment,
JAFDataHandlerSerializerFactory.class,
JAFDataHandlerDeserializerFactory.class);Same as in the example...
The problem is, my collegue uses another API that is using Axis 1.2 Alpha. He replaced only the axis 1.1 jar with the newer 1.2 alpha jar. This caused the web service to fail.
The exception thrown is :
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Deserializing parameter 'source': could not find deserializer for type {GridX3}DataHandler
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Deserializing parameter 'source': could not find deserializer for type {GridX3}DataHandler
faultActor:
faultNode:
faultDetail:
From the exception, I gather that the problem occurs on the server side. Similarly, when I try to
download a file, the same exception occurs, this time on the client side.
Any suggestions?
Thanks in advance, Azmi
