You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Andreas Veithen (Commented) (JIRA)" <ji...@apache.org> on 2011/10/28 19:19:32 UTC
[jira] [Commented] (SYNAPSE-809) getTextPayload(SOAPEnvelope
envelope) method in org.apache.synapse.util.PayloadHelper doesn't return
the complete text, return only first chunk(4KB) of the text
[ https://issues.apache.org/jira/browse/SYNAPSE-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138553#comment-13138553 ]
Andreas Veithen commented on SYNAPSE-809:
-----------------------------------------
Since the getTextPayload method returns a String, it is not possible to stream the text content and ElementHelper#getTextAsStream is useless here. The method should use OMElement#getText() which in that particular context is more efficient.
> getTextPayload(SOAPEnvelope envelope) method in org.apache.synapse.util.PayloadHelper doesn't return the complete text, return only first chunk(4KB) of the text
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SYNAPSE-809
> URL: https://issues.apache.org/jira/browse/SYNAPSE-809
> Project: Synapse
> Issue Type: Bug
> Components: Core
> Reporter: D A Jasintha Kapilajith Dasanayaka
> Attachments: payloadhelper.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org