Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 68904 invoked from network); 7 Jul 2006 14:15:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2006 14:15:34 -0000 Received: (qmail 91112 invoked by uid 500); 7 Jul 2006 14:15:30 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 91077 invoked by uid 500); 7 Jul 2006 14:15:30 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 91062 invoked by uid 99); 7 Jul 2006 14:15:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jul 2006 07:15:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jul 2006 07:15:27 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 29444714219 for ; Fri, 7 Jul 2006 14:13:31 +0000 (GMT) Message-ID: <1868102.1152281611165.JavaMail.jira@brutus> Date: Fri, 7 Jul 2006 14:13:31 +0000 (GMT+00:00) From: "Elias Torres (JIRA)" To: abdera-dev@incubator.apache.org Subject: [jira] Closed: (ABDERA-1) Attachment deserialization doesnt work with multiref's In-Reply-To: <33130246.1152273509854.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/ABDERA-1?page=all ] Elias Torres closed ABDERA-1: ----------------------------- Resolution: Invalid Assign To: Elias Torres This is not an Abdera bug. > Attachment deserialization doesnt work with multiref's > ------------------------------------------------------ > > Key: ABDERA-1 > URL: http://issues.apache.org/jira/browse/ABDERA-1 > Project: Abdera > Type: Bug > Environment: java version "1.4.2_07" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05) > Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode) > Reporter: Rajkumar Kothapa > Assignee: Elias Torres > > Attachment deserialization with multirefs in the request/response soap body doesnt work. It fails with a ClassCastException inside populateDataHandler method of org.apache.axis.encoding.ser.JAFDataHandlerDeserializer. It fails in this line : > ref = AttachmentUtils.getActivationDataHandler((org.apache.axis.Part)ref); > Looks like the ClassCastException occurs because the ref object returned from the previous line is a SOAPBodyElement but is being cast to a Part. And this occurs only when the "href" of a soap element refers to a multiref element whose href in turn points to the required attachment. The tests work fine when multiref support is disabled both on the client and the server side. And according to the comments in org.apache.axis.client.Call(line number 1541) this seems like a known issue. > // If there are any MIME types, turn off multirefs. > // I don't know enough about the guts to know why > // attachments don't work with multirefs, but they don't. > Is this issue going to be fixed? > rajkumar -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira