Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 27350 invoked from network); 22 Sep 2010 20:11:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Sep 2010 20:11:22 -0000 Received: (qmail 64607 invoked by uid 500); 22 Sep 2010 20:11:21 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 64428 invoked by uid 500); 22 Sep 2010 20:11:21 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 64420 invoked by uid 99); 22 Sep 2010 20:11:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 20:11:21 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Sep 2010 20:11:20 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8MKB0Ng017165 for ; Wed, 22 Sep 2010 20:11:00 GMT Message-ID: <13194300.351941285186260388.JavaMail.jira@thor> Date: Wed, 22 Sep 2010 16:11:00 -0400 (EDT) From: "Andreas Veithen (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Commented: (AXIS2-4828) SOAPMessageFormatter should buffer the SOAP Body in an OutputStream when doing SWA In-Reply-To: <84470.346851285172976587.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-4828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913756#action_12913756 ] Andreas Veithen commented on AXIS2-4828: ---------------------------------------- Rich, In Axiom 1.2.9 I introduced a new API (meant as a replacement for MIMEOutputUtils; see WSCOMMONS-553) that entirely gets rid of the StringWriter stuff: http://ws.apache.org/commons/axiom/apidocs/org/apache/axiom/mime/package-summary.html The API itself even allows streaming of the parts (although the JavaMail based default implementation is not able to leverage this; see WSCOMMONS-554). Axiom uses this API internally to produce XOP/MTOM, but porting SOAPMessageFormatter to that new API is part of the unfinished work. Maybe this JIRA is an opportunity to rewrite that part of SOAPMessageFormatter properly once and for all? > SOAPMessageFormatter should buffer the SOAP Body in an OutputStream when doing SWA > ---------------------------------------------------------------------------------- > > Key: AXIS2-4828 > URL: https://issues.apache.org/jira/browse/AXIS2-4828 > Project: Axis2 > Issue Type: Bug > Components: kernel > Reporter: Rich Scheuerle > Assignee: Rich Scheuerle > Original Estimate: 24h > Remaining Estimate: 24h > > Background: > The SOAPMessageFormatter writes the message to an OutputStream in all cases except SWA. > Writing to an OutputStream is faster and allows the other components to access the OutputStream. > Proposal: > I am making a small change to the SOAPMessageFormatter SWA flow to use a ByteArrayOutputStream as the buffer. -- 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: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org