Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 60545 invoked from network); 31 May 2006 10:45:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 May 2006 10:45:36 -0000 Received: (qmail 36519 invoked by uid 500); 31 May 2006 10:45:33 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 35987 invoked by uid 500); 31 May 2006 10:45:31 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 35976 invoked by uid 99); 31 May 2006 10:45:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 03:45:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [195.115.71.69] (HELO mx0.bpl-group.org) (195.115.71.69) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 03:45:30 -0700 Received: from [127.0.0.1] (lan-59.int.bpl-group.org [192.168.16.59]) by mx0.bpl-group.org (Postfix) with ESMTP id B549BC4F9 for ; Wed, 31 May 2006 12:45:07 +0200 (CEST) Message-ID: <447D73B1.4040804@inexbee.com> Date: Wed, 31 May 2006 12:45:05 +0200 From: Laurent CELLA Organization: Inexbee User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: axis-dev@ws.apache.org Subject: Re: [Axis2] Fwd: SOAP With Attachments - MIME Part Content Transfer Encoding References: <447AF17B.6040305@inexbee.com> <1148971307.18363.7.camel@localhost.localdomain> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Thilina. I was reluctant at the beginning to use SUN javamail API cause there were already geronimo-spec-javamail given with AXIS 2 libs and the sun mailcap seemed to me "a bit too complex" compared to geronimo mailcap. But I downloaded and installed java mail 1.4, and modified a bit my code to fit the new content handlers and the result is : It implicitly decodes Base64 and quoted printable stream ( the contentHandler I retrieve at server side becomes an InputFilterStream in those 2 cases ) in Attachments ( the stream i Retrieve is decoded ) So the replacing you suggested to me solves most of my problems :) Thanks ! Thilina Gunarathne a �crit : > Hi Luarent, > Can you try it again by replacing the geronimo-spec-javamail-XXX.jar > with sun's mail jar[1]. > Please log a JIRA if the things are not working well even after > replacing them. > > Thanks, > ~Thilina > > [1] http://java.sun.com/products/javamail/downloads/index.html > > > On 5/30/06, *Sanjiva Weerawarana* > wrote: > > On Tue, 2006-05-30 at 10:38 +0600, Thilina Gunarathne wrote: > > Adding [Axis2]prefix.. > > Moving the conversation over to Axis2-dev list...Please post your > > replies to dev list.. > > > > Hi Laurent and devs, > > Currently [1],[2] are the intended behavior. Do you have a use case > > which makes it mandatory to send the base64 as an attachment, > without > > embedding in the SOAP message... > > > > I'm not sure whether we need to support the [3]. > > Ignoring Content-Transfer-Encoding is a bug .. we can refuse to > process > certain CTEs, but we cannot ignore it. Is this a JavaMail bug or a > problem in our code?? (I agree JavaMail should be doing the work!) > > Sanjiva. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-dev-help@ws.apache.org > > > > > > -- > "May the SourcE be with u" > http://webservices.apache.org/~thilina/ > > http://thilinag.blogspot.com/ > http://www.bloglines.com/blog/Thilina --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org