IBM
C2180-371 · Question #116
Application developer has a multitude of ways to specify to use MTOM when sending a Web services request. Which of the following will enable MTOM on the client side?
The correct answer is B. Service svc = Service. create(service Name); MTOMFeature mtom = new MTOMFeature(); D. Service svc = Service. create(Service Name); svc.addPort(portName, E. Service svc = Service.create(serviceName); MtomSample proxy= svc.getPort(portName. See the full explanation below for the reasoning.
Question
Application developer has a multitude of ways to specify to use MTOM when sending a Web services request. Which of the following will enable MTOM on the client side?
Options
- AService svc = Service. create(service Name); svc.createDispatch(port Name, Source. class,
- BService svc = Service. create(service Name); MTOMFeature mtom = new MTOMFeature();
- CService svc = Service. create(serviceName); svc.setMTOMEnabled(true);
- DService svc = Service. create(Service Name); svc.addPort(portName,
- EService svc = Service.create(serviceName); MtomSample proxy= svc.getPort(portName,
How the community answered
(37 responses)- A11% (4)
- B84% (31)
- C5% (2)
Community Discussion
No community discussion yet for this question.