Berin Loritsch wrote: > If the String serializer can accept chunks (which I suspect is what > SoapRMI is doing) then the Serializer can start the SOAP response > almost immediately. The String serializer would be sending > characters( char[], int begin, int length ) messages for each chunk > it sends.
the SoapRMI and its next version XSOAP are built on top of XML Pull Parser 2 (XPP2) and they do not use chunking instead XPP2 parser always returns element content with properly expanded entities, CDATA and removed PIs and comments. moreover as we had not implemented HTTP chunked encoding there is a considerable overhead when SOAP output is serialized to determine content-length for POST and that i would instead point as a possible area to improve together with more efficient and more lightweight streaming deserialization that minimizes memory representation of incoming SOAP request. thanks, alek