Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.3
-
None
-
None
Description
Apache SOAP reads the entire response payload into memory and in most cases makes a few copies of it before returning results to the caller. This is particularly troublesome in the RPC case (Call.invoke) because the String is fed into an XML parser which could just as well take in InputStream (or Reader).
Significant performance and memory footprint improvements can be had by streaming the response at least as far as the XML parser input.
PS:- I am working on a patch for exactly this thing and will submit it soon.