IBM Web Services Development for IBM WebSphere Application Server V7.0 認定 C2180-371 試験問題:
1. Which client retrieves Call Instance from the javax.xml.rpc.Call interface?
A) Unmanaged static stub
B) Dynamic Invocation Interface
C) Managed static stub
D) Unmanaged dynamic proxy
2. A developer has an @WebServiceRef annotation defined in a web service client. @WebServiceRef(name="java:comp/env/service/AddressBookService", AddressBookService.class)AddressBookPort port; ... Address address = port.getAddress (John Doe); What element in the deployment descriptor defines the value of "name"?
A)
B)
C)
D)
E)
3. A developer is using the Web container programming model as per JSR109. Which statement regarding the Service Implementation Bean is true?
A) The class must have a default public constructor
B) The class can save client specific state across method calls using instance variables
C) The class must definefinalize() method
D) The class can be final
4. 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?
A) Service svc = Service.create(serviceName); svc.setMTOMEnabled(true);
B) Service svc =Service.create(serviceName); MtomSample proxy= svc.getPort(portName, MtomSample.class); BindingProvider bp = (BindingProvider) proxy; ((SOAPBinding) bp.getBinding().setMTOMenabled(true);
C) Service svc = Service.create(service Name); svc.createDispatch(port Name, Source. class, PAYLOAD); dispatch.setMTOMEnabled(true);
D) Service svc = Service.create(service Name); MTOMFeature mtom = new MTOMFeature(); MtomSample proxy = svc.getPort(port Name, MtomSample.class, mtom);
E) Service svc = Service.create(Service Name); svc.addPort(portName, SOAPBinding.SOAP11HTTP_MTOM_BINDING, endpointUrl);
5. Which of the following can be changed using Web Services Explorer?
A) Input values to the request
B) Endpoint URL
C) Adding HTTP Headers
D) Policy Set Attachment
E) JSR-109 Deployment Descriptors
F) Adding SOAP Headers
質問と回答:
質問 # 1 正解: B | 質問 # 2 正解: B | 質問 # 3 正解: A | 質問 # 4 正解: B、D、E | 質問 # 5 正解: A、B、F |