Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 5782 invoked from network); 28 Nov 2008 05:07:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2008 05:07:51 -0000 Received: (qmail 7910 invoked by uid 500); 28 Nov 2008 05:07:56 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 7843 invoked by uid 500); 28 Nov 2008 05:07:56 -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 7831 invoked by uid 99); 28 Nov 2008 05:07:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Nov 2008 21:07:55 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Nov 2008 05:06:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3B5A1234C2A1 for ; Thu, 27 Nov 2008 21:06:44 -0800 (PST) Message-ID: <231638864.1227848804228.JavaMail.jira@brutus> Date: Thu, 27 Nov 2008 21:06:44 -0800 (PST) From: "Thilina Gunarathne (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-4153) Creation of a MessageBuilder that can handle any email message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-4153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651459#action_12651459 ] Thilina Gunarathne commented on AXIS2-4153: ------------------------------------------- http://markmail.org/message/idgjsi4iihxqg7ed#query:+page:1+mid:4ca56woqyqqb3mfy+state:results > Creation of a MessageBuilder that can handle any email message > -------------------------------------------------------------- > > Key: AXIS2-4153 > URL: https://issues.apache.org/jira/browse/AXIS2-4153 > Project: Axis 2.0 (Axis2) > Issue Type: Improvement > Reporter: Asankha C. Perera > Assignee: Thilina Gunarathne > > Require a message Builder implementation, that can parse *any* valid Email message > If the message contains any attachments, they need to be available as attachments in the Axis2 MessageContext as usual. The builder should be able to digest *any* type of attachment, irrespective of its content type (e.g. zip, jpg, csv, raw binary, junk etc) All thats expected is the ability to "get to these" attachment data from the higher level application code. > If the message contains typical message body, that needs to be mapped to the SOAP envelope body. Thus, we should give preference to SOAP 1.2/1.1, POX, text/plain and text/html in that order (in my personal pov which should be validated) to construct the main envelope body, if/when multiple parts are available. If a decision cannot be made to pick one, I think we could leave all as attachments. For alternative parts, I think its typically text vs html, and we should pick text (or make that configurable) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org