Choose three ways to enable MTOM on a web service endpoint deployed in an EE container ? (Choose three)

Choose three ways to enable MTOM on a web service endpoint deployed in an EE container ? (Choose three)

Choose three ways to enable MTOM on a web service endpoint deployed in an EE container ? (Choose three)

A.
enabled by the container automatically

B.
by specifying @MTOM annotation on the endpoint’s class

C.
by specifying <enable-mtom> in webservices.xml deployment descriptor

D.
by specifying a wsoma:MTOM policy in WSDLE. by specifying <mtom> element in sun- jaxws.xml



Leave a Reply 1

Your email address will not be published. Required fields are marked *


leo yu

leo yu

http://www.mkyong.com/webservices/jax-ws/jax-ws-attachment-with-mtom/
b) is correct, @MTOM will let web service return base64binery attachments or let client send base64binery attachments
C) & D) is correct, but webservice.xml and sun-jaxws.xml is different additional web service configuration file, webservice.xml is websphere’s, sun-jaxws.xml is Metro’s