Page 1 of 1

About Question enthuware.ocejws.v6.2.146 :

Posted: Tue Apr 08, 2014 2:49 pm
by himaiMinh
Hi, mock exam users,
For this question, option 4 says "If MTOM is enabled on the client side, MTOM will be enabled on the server side by JAX-WS." This is not a correct option as indicated.

Here is what we need to be aware of in the exam:
1. MTOM is enabled on server side, client will enable MTOM automatically.
2. MTOM is disabled on client side, server will disable MTOM automatically.
3. What about this : MTOM is enabled on client side, server sets MTOM disabled? From the client side, data is sent as raw attached data to the server. But the server will send the client binary64 encoded data if there is any.

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

Posted: Tue Apr 08, 2014 11:07 pm
by fjwalraven
himaiMinh wrote: 3. What about this : MTOM is enabled on client side, server sets MTOM disabled? From the client side, data is sent as raw attached data to the server. But the server will send the client binary64 encoded data if there is any.
MTOM is disabled by default on the server side, so you wouldn't say the server "disables" MTOM, it just doesn't enable it.

Regards,
Frits

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

Posted: Wed Sep 24, 2014 3:14 pm
by sparticle
Option 1 is too vague of an answer. "By setting a MTOM property in a deployment descriptor."
A deployment descriptor can be of three types in the context of this question, A web.xml, webservices.xml and sun-jaxws.xml of which the web.xml you cannot enable MTOM.

You can't expect the person answering the question to be a mind reader and guess that the author of the question meant the other two descriptors.

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

Posted: Thu Sep 25, 2014 12:46 am
by fjwalraven
Hi!

Thank you for posting your idea about the question. Important to know is that the webservices.xml is the deployment descriptor for Web Services (as the web.xml is for Web applications)

Although with the new EE6 exam knowledge of specific details are not asked, you still should know what you can do with it. You might want to check JSR 109.

This question is a "real brainer" and those questions can be tricky at times.

Regards,
Frits

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

Posted: Wed Nov 11, 2015 6:17 am
by ramy6_1
Hello ,

Can you please provide webservices.xml example while enabling MTOM ?

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

Posted: Wed Nov 11, 2015 8:29 am
by fjwalraven