I have this situation:
- SOAP client, implemented in Apache Axis2 + Apache Rampart
- Received SOAP messages are decrypted using Rampart (data is encrypted with public key, if that makes any difference)
- Response size is around 4MB
I was curious, since SOAP response needs to be decrypted, does that mean that data can't be streamed with Apache Axiom? Axiom utilizes Streaming API for XML.
I.E., to decrypt message, Rampart should have whole object model tree constructed in memory?