DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10183>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10183 Axis doesn't deserialize AttachmentPart to DataHandler Summary: Axis doesn't deserialize AttachmentPart to DataHandler Product: Axis Version: current (nightly) Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Serialization/Deserialization AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I'm trying to make an attachment post call by sending a DataHandler to an Axis Server. However, the attachment part is not being passed through the JAFDataHandlerDeserializer, and the method parameter is not being converted to a DataHandler from the AttachmentPart by which it is represented. Here's the exception: AxisFault faultCode: {http://xml.apache.org/axis/}Server.generalException faultString: Tried to invoke method public java.lang.String PostAttachmentTestServer.echoAttachment(javax.activation.DataHandler) with arguments org.apache.axis.attachments.AttachmentPart. The argu ments do not match the signature. faultActor: null faultDetail: Tried to invoke method public java.lang.String PostAttachmentTestServer.echoAttachment(javax.activation.DataHandler) with arguments org.apache.axis.attachments.AttachmentPart. The arguments do not m atch the signature. java.lang.IllegalArgumentException: argument type mismatch at java.lang.reflect.Method.invoke(Native Method) at org.apache.axis.providers.java.RPCProvider.invokeMethod (RPCProvider.java:308) at org.apache.axis.providers.java.RPCProvider.processMessage (RPCProvider.java:240) at org.apache.axis.providers.java.JavaProvider.invoke (JavaProvider.java:289) at org.apache.axis.strategies.InvocationStrategy.visit (InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:287) at org.apache.axis.transport.http.AxisServlet.doPost (AxisServlet.java:559) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle (ServletHolder.java:326) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:595) at org.mortbay.http.HttpContext.handle(HttpContext.java:1357) at org.mortbay.http.HttpContext.handle(HttpContext.java:1309) at org.mortbay.http.HttpServer.service(HttpServer.java:744) at org.mortbay.http.HttpConnection.service(HttpConnection.java:743) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:916) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:758) at org.mortbay.http.SocketListener.handleConnection (SocketListener.java:145) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287) at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715) at java.lang.Thread.run(Thread.java:484) I've tried to make sure that the JAFDataHandler(De)serializer is being registered, and that the DataHandler is correctly namespaced, however it looks like the deserializer is never being called (I compiled the current CVS tree, adding debug statements to the deserializer). This was working in beta1 but has failed for me since beta2 (I'm trying to upgrade now). Attached is my WSDD file, client and server code and the SOAP XMP dump.