TDean
Apr 15th, 2010, 01:05 PM
Hi, I have a few questions regarding comparisons of the 2 types of messages supported by Spring-WS.
1. Why use one over the other?
2. If I choose to use XMLStreaming endpoint, I am thinking that I should use AxiomSoapMessage since the underlying model uses StAX. Any insights? Also, if I do go this route, it would be nice to just use OM* API instead of XMLStreaming API since it already handles mechanisms for "consuming" and "not consuming". Thoughts?
3. Are there considerations for using SaajSoapMessage or AxiomSoapMessage when attachments are involved? Both suport MTOM and SwA? AxiomSoapMessage gives you the ability to cache large attachments to disk. Any other benefits?
I'm happy to listen to any other thoughts on this subject since I'm at the point of trying to make decisons on which technologies to use.
Thanks in advance.
1. Why use one over the other?
2. If I choose to use XMLStreaming endpoint, I am thinking that I should use AxiomSoapMessage since the underlying model uses StAX. Any insights? Also, if I do go this route, it would be nice to just use OM* API instead of XMLStreaming API since it already handles mechanisms for "consuming" and "not consuming". Thoughts?
3. Are there considerations for using SaajSoapMessage or AxiomSoapMessage when attachments are involved? Both suport MTOM and SwA? AxiomSoapMessage gives you the ability to cache large attachments to disk. Any other benefits?
I'm happy to listen to any other thoughts on this subject since I'm at the point of trying to make decisons on which technologies to use.
Thanks in advance.