Remove calls to HttpMethodBase methods getResponseBody and getResponseBodyAsString
----------------------------------------------------------------------------------
Key: JBESB-3564
URL:
https://issues.jboss.org/browse/JBESB-3564
Project: JBoss ESB
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Web Services
Affects Versions: 4.9
Reporter: Kevin Conner
Priority: Minor
Invoking the getResponseBody or getResponseBodyAsString methods of HttpMethodBase can lead
to a WARN being displayed if the invoked endpoint returns -1 (chunking) or if the content
length is greater then the default (1M).
If we change the invocations to use getResponseBodyAsStream (as done in HttpRouter) then
we can handle the buffering ourselves and remove the warning.
From what I can see the methods are used in the following locations
getResponseBody -
RemoteWsdlLoader and EsbWsdlLoader
getResponseBodyAsString -
soapui SOAPClient
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira