You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Raymond Feng <zh...@xecent.com> on 2002/03/12 08:59:25 UTC
Problem with attachment sample
Hi.
I try to run the attachment sample "samples.attachments.EchoAttachment" with the beta-rc1 of Axis. It always fails with a server-side exception which indicates that there is a parameter mismatch to call "EchoAttachmentService.echo(javax.activation.DataHandler)" with a "org.apache.axis.attachments.AttachmentPart". The debugging shows the problem is introduced from the RPCElement.getParams() method which is supposed to pick up the registered Deserializer and return a javax.activation.DataHandler object as the RPCParam but an org.apache.axis.attachments.AttachmentPart object is returned instead.
Bug? When can it be fixed?
Thanks,
Raymond