Page 1 of 1

About Question enthuware.ocejws.v6.2.141 :

Posted: Fri Jun 27, 2014 8:05 pm
by nickeasyuptech
Is this answer correct?

I found, at this link - ... 4/mtom.htm

Binary content, such as an image in JPEG format, can be passed between the client and the Web service. In order to be passed, the binary content is typically inserted into an XML document as an xsd:base64Binary string. Transmitting the binary content in this format greatly increases the size of the message sent over the wire and is expensive in terms of the required processing space and time.

Using MTOM, binary content can be sent as a MIME attachment, which reduces the transmission size on the wire.
This seems to suggest that the size should be reduced when using MTOM?

I had read it is approx. 30%

Re: About Question enthuware.ocejws.v6.2.141 :

Posted: Fri Jun 27, 2014 11:52 pm
by fjwalraven
Be careful here this is a trick question.

If you don't use MTOM the Image will be encoded using base64 increasing the size with approximately 30%. If you use MTOM the Image and the attachment on the wire have approximately the same size as the Image is not encoded or zipped or anything it is just send as binary data.

Re: About Question enthuware.ocejws.v6.2.141 :

Posted: Sat Jun 28, 2014 9:28 pm
by nickeasyuptech
Thanks Frits, I got it now.

The question seemed a little mean at first but now that I understand it, it was worth it!

Thank you!