You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/09/22 22:11:00 UTC
[jira] Commented: (AXIS2-4828) SOAPMessageFormatter should buffer
the SOAP Body in an OutputStream when doing SWA
[ 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