Nikola
Nikola

Reputation: 623

Streaming decrypted soap response in Axis2 + Rampart

I have this situation:

  1. SOAP client, implemented in Apache Axis2 + Apache Rampart
  2. Received SOAP messages are decrypted using Rampart (data is encrypted with public key, if that makes any difference)
  3. 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?

Upvotes: 0

Views: 94

Answers (1)

Andreas Veithen
Andreas Veithen

Reputation: 9154

Rampart is based on WSS4J using DOM. This requires conversion from Axiom to DOM and back, and it's not possible to implement streaming in this case.

Upvotes: 1

Related Questions