views:

12

answers:

0

I have a requirement where the RAW response received from a webservice endpoint need to be persisted so that it can be parsed again later. I am seeking advice as to whether I need to persist just the payload (without the soap envelope) or store the entire raw as is.

If I store with the soap envelope then I believe any soap stack can safely parse it. If I just store the payload then I need to understand the binding code generated by each of the soap stack so that I can pick the right generated object that can work on just the payload and not worry about the soap envelope.

I need to do this not just for document/literal but for encoded as well.

thank you.