About Question enthuware.ocejws.v6.2.141 :

Moderators: Site Manager, fjwalraven

Post Reply
nickeasyuptech
Posts: 29
Joined: Sat Jun 08, 2013 11:33 pm
Contact:

About Question enthuware.ocejws.v6.2.141 :

Post by nickeasyuptech » Fri Jun 27, 2014 8:05 pm

Is this answer correct?

I found, at this link -http://docs.oracle.com/cd/E15523_01/web ... 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%

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

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

Post by fjwalraven » Fri Jun 27, 2014 11:52 pm

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.

nickeasyuptech
Posts: 29
Joined: Sat Jun 08, 2013 11:33 pm
Contact:

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

Post by nickeasyuptech » Sat Jun 28, 2014 9:28 pm

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!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests