000-371 Web Services Development for IBM WebSphere Application Server V7.0 Version: Demo Page <<1/10>>
1. Which of the following business scenarios is the LEAST appropriate for Web services? A. Expanding the reach of your company information. B. Providing transactional services such as credit card payment processing. C. Making existing services available to a business process to orchestrate services. D. Enabling interoperability between heterogeneous services to create time-critical solutions. Answer: D 2. Which IBM Rational Application Developer V7.5 tool can be used to validate the SOAP messages against WS-I standards? A. TCP/IP Monitor B. Profiling Monitor C. Web Services Explorer D. Universal Test Client (UTC) Answer: A 3. Which WSDL style is suited to sending binary tree nodes as part of a SOAP message? A. RPC/literal B. RPC/encoded C. Document/encoded D. Document/literal E. Document/literal wrapped Answer: B 4. Which of the possible files can be used to modify the mappings from WSDL to Java for a JAXWS- based application? Page <<2/10>>
A. WSDL B. XML schema C. JAX-B binding file D. JAX-WS binding file E. JSR 109 mapping metadata file Answer: A,C,D 5. 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. <service-ref> B. <service-name> C. <service-ref-name> D. <service-interface> E. <service-interface-name> Answer: C 6. Which three protocols can the Endpoint Listeners in the service integration bus (SIBus) of IBM Web Sphere Application Server V7.0 be configured to get invoked with? A. RMI/IIOP B. RMI/JRMP C. SOAP/JMS D. SOAP/SMTP E. SOAP/HTTP F. SOAP/HTTPS Page <<3/10>>
Answer: C,E,F 7. Which of the following scenarios are typical for usingws-security Kerberos Token Profile? A. Social networking B. End-to-end security C. Internet Single Sign On D. Intranet Single Sign On Answer: B,D 8. Refer to the exhibit. Based on the WSDL document and applying JAX-WS mapping rules, what does the method signature for the operation look like (without the JAX-WS annotations)? A. public String test(string mystring1); B. public String Wrapper test(string Wrapper mystring1); C. public ResponseDataType test( RequestDataType param1); D. public ResponseDataTypeWrapper test(requestdatatypewrapper param1); Answer: C 9. 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(service Name); svc.createdispatch(port Name, Source. class, PAYLOAD); dispatch.setmtomenabled(true); B. Service svc = Service. create(service Name); MTOMFeature mtom = new MTOMFeature(); MtomSample proxy = svc.getport(port Name, MtomSample.class, mtom); C. Service svc = Service. create(servicename); svc.setmtomenabled(true); D. Service svc = Service. create(service Name); svc.addport(portname, Page <<4/10>>
SOAPBinding.SOAP11HTTP_MTOM_BINDING, endpointurl); E. Service svc = Service.create(serviceName); MtomSample proxy= svc.getport(portname, MtomSample.class); BindingProvider bp = (BindingProvider) proxy; ((SOAPBinding) bp.getbinding().setmtomenabled(true); Answer: B,D,E 10. What is the biggest advantage of using Web services to create SOA solutions? A. They are implemented using Java and XML B. They support a client-server programming model C. They are used to create tightly coupled applications D. They are implemented using standardized technologies Answer: D 11. A developer used wsimport to generate the skeleton code for a Web service implementation. What is the purpose of the generated Object Factory class? A. The Object Factory class is the generated Service Endpoint Interface class B. The Object Factory class is the generated service provider class that is used by thejaxws client. C. The Object Factory class takes the target Namespace value and creates the directory structure. D. The Object Factory class allows you to programmatically construct new instances of the Java representation for XML content. Answer: D 12. Which of the following are ways for a JAX-WS-based service to enable the usage of MTOM for binary data? Page <<5/10>>
A. @MTOM(enabled=true) B. @Attachments(mtom=true) C. @MTOMAttachments(enabled=true) D. @Binding Type(value=javax.xml.ws.soap.SOAPBinding.SOAP11HTTP,mtom=true) E. @Binding Type(value=javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING) Answer: A,E 13. What can be used to test and publish Web services to IBM UDDI? A. Web Services Explorer B. IBM UDDI Test Registry C. Universal Test Client (UTC) D. Web services sample test JSPs Answer: A 14. A developer created a bottom-up JAX-WS Web service and requested the WSDL file to be generated. Where has IBM Rational Application Developer V7.5 packaged the Web service? A. If a Java bean in a Java project was used for the bottom-up generation, the generated files are placed in the Java project. B. If a Java bean in a Java project was used for the bottom-up generation, the generated files are placed in a Dynamic Web project. C. If a Stateful session bean in an EJB project was used for the bottom-up generation, the generated files are placed in the EJB project. D. If a Stateless session bean in an EJB project was used for the bottom-up generation, the generated files are placed in a Service project Answer: B Page <<6/10>>
15. Refer to the exhibit. A Web service is generated from the WSDL using IBM Rational Application Developer. Which of the following are valid request response wrappers that would be generated from the WSDL? A. SetWeather.java, GetWeather.java B. GetForecast.java, GetForecastResponse.java C. GetDayForecast.java, GetDayForecastResponseResponse.java D. GetTemperaturesRequest.java, GetTemperaturesResponse.java Answer: B 16. Refer to the message in the exhibit. Replace the??? in the message with the appropriate namespace. A. http://www.w3.org/2003/05/soap-envelope B. http://schemas.xmlsoap.org/soap/envelope/ C. http://schemas.xmlsoap.org/soap12/envelope/ D. http://schemas.xmlsoap.org/soap11/envelope/ Answer: A 17. Which specification provides recommendations on the use of encodings to maximize interoperability? A. SAAJ V1.2 B. JAX-RPC V1.0 C. WS-Coordination D. WS-I Basic Profile (BP) V1.1 Answer: D Page <<7/10>>
18. Which one of the mechanisms CANNOT be used directly by the JAX-WS dynamic APIs for Dispatch or Provider? A. Source B. Data Source C. Input Stream D. JAXB Objects E. SOAP Message Answer: C 19. Which of the following options for sending binary data are compliant to either WS-I Basic Profile (BP) V1.1 or V1.2? A. SOAP with Attachments B. Base64 encode the data inline C. Direct Internet Message Encapsulation (DIME) D. Message Transmission Optimization Mechanism (MTOM) / XML-Binary Optimized Packaging (XOP) Answer: B,D 20. Select the scenario where the specification WS-Make Connection should be used. A. To return responses back on a separate connection in a request and response flow. For example, enabling WS-Addressing to specify a new address to deliver a response. B. To establish a connection for out-of-band communication with 3rd endpoint. For example, in using WS-Secure Conversation with another business endpoint, a token can be obtained from a 3rd party provider. C. To tunnel through a firewall and establish a back channel for messages to be sent to a previously un-addressable endpoint. For example, with WSReliableMessagingreestablishing Page <<8/10>>
a connection through a firewall for acknowledgements. D. To create a separate connection to an endpoint to gain metadata about an endpoint prior to the initial request. For example, creating a connection to a separate endpoint to retrieve WSPolicy information about how to establish connectivity to a web services endpoint. Answer: C Page <<9/10>>
Powered by TCPDF (www.tcpdf.org) Over 3500+ Practice Tests Available 1. Our study material meets with the exact 2. Immediate access to Questions and Answers after buying 3. 100% Exam Passing Assurance 4. Money Back Guarantee 5. Free Updates for 120 Days 6. 100% Passing Rate Page <<10/10>>