I wonder what are the main benefits of using a WS with MTOM. (without streaming the attachment)
I understand that the payload will not contain the binary data which will be part of MIME
"When you use MTOM/XOP to optimize a SOAP message, the XOP processing serializes it into a MIME Multipart/Related message. The XOP processing extracts the base64Binary data from the SOAP message and packages it as separate binary attachments within the MIME message, in a similar manner to e-mail attachments"
SO the payload will probably smaller (but not much ) then base64 format
BUT without using streaming attachment i see little advantage... the payload will end up in memory anyway as soap is deserialized.
So if the SOAP has to contain a big PDF file which i have to store it ... with pure MTOM there will be not so much benefit if i will not use streaming attachment cause multiple users in the same time might crash the server with OOME...
Am i wrong ?