Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 28309 invoked from network); 7 Aug 2008 12:56:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2008 12:56:41 -0000 Received: (qmail 3710 invoked by uid 500); 7 Aug 2008 12:56:34 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 3658 invoked by uid 500); 7 Aug 2008 12:56:34 -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 3647 invoked by uid 99); 7 Aug 2008 12:56:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 05:56:34 -0700 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; Thu, 07 Aug 2008 12:55:46 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 78B3F234C18F for ; Thu, 7 Aug 2008 05:55:44 -0700 (PDT) Message-ID: <2020886664.1218113744493.JavaMail.jira@brutus> Date: Thu, 7 Aug 2008 05:55:44 -0700 (PDT) From: "Samuel Isokpunwu (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-3963) Null DataHandler objects as MIME attachments In-Reply-To: <450782158.1217981684392.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 [ https://issues.apache.org/jira/browse/AXIS2-3963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Samuel Isokpunwu updated AXIS2-3963: ------------------------------------ Attachment: patch3.txt updated patch. > Null DataHandler objects as MIME attachments > -------------------------------------------- > > Key: AXIS2-3963 > URL: https://issues.apache.org/jira/browse/AXIS2-3963 > Project: Axis 2.0 (Axis2) > Issue Type: Improvement > Components: jaxws > Environment: windows > Reporter: Samuel Isokpunwu > Assignee: Rich Scheuerle > Attachments: patch3.txt > > > Using SWA- raw MIME attachments, it is desireable to be able specify a null DataHandler object as a method parameter > when there is no attachment to be returned. (For example, in a document retrieval service when the document image is > not found). Both client and server threw NPE's when this happened. > This change allows this to work. > The resulting soap message message is a mime type message with only one part, the soap envelope. This is allowable > per WS-I.Attachment Profile 1.0 clause R2917. > Code description and implementation was originally done by Bruce Tiffany/Austin/IBM@IBMUS -- 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