About Question enthuware.ocejws.v6.2.146 :

Moderators: Site Manager, fjwalraven

Post Reply
himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

About Question enthuware.ocejws.v6.2.146 :

Post 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.

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

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

Post 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

sparticle
Posts: 3
Joined: Tue Sep 09, 2014 5:25 am
Contact:

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

Post 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.

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

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

Post 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

ramy6_1
Posts: 124
Joined: Wed Feb 12, 2014 2:44 am
Contact:

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

Post by ramy6_1 »

Hello ,

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


Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests