Uploaded image for project: 'SOAP'
  1. SOAP
  2. SOAP-166

streaming reponse payloads

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3
    • None
    • All
    • 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.

      Attachments

        1. streaming-response-patch.txt
          38 kB
          Bill Carpenter
        2. streaming-response-patch-20040410.txt
          39 kB
          Bill Carpenter

        Activity

          People

            Unassigned Unassigned
            wjcarpenter Bill Carpenter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: