Hi I have migrated the axis 1 web service on Jboss6.4 and all the function of web service are working fine except when consuming the function which are sending the attachment.
On Jboss5.2 , All the functionality is working fine.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Bad types (class javax.activation.DataHandler -> class javax.activation.DataHandler)
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Bad types (class javax.activation.DataHandler -> class javax.activation.DataHandler)
at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:166)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
When I checked this what's I am finding actually it was not serialized and when it was trying to deserialization than above exception is generated.
Thanks