IBM WebSphere Application Server Developer Tools V8.5 with Liberty Profile v3.0

Page:    1 / 5   
Exam contains 75 questions

A developer is building a JAX-WS Web service to be deployed on IBM Web Sphere
Application Server V7.0. The service consumers are financial institutions with client applications using Microsoft .NET V3.5. The service will be used to retrieve image files and send them to the financial institutions. What is the recommended approach to send the image files?

  • A. SOAP with Attachments
  • B. Direct Internet Message Encapsulation (DIME)
  • C. Message Transmission Optimization Mechanism (MTOM)
  • D. Message Handlers and the SOAP with Attachments API for Java (SAAJ)


Answer : C

A developer is creating a JAX-WS Web service. The Web service will be used to sendcheque image file from the provider to the requestor. Given the following extract:
@MTOM(enabled=true, threshold=50)
@Web Service(name="Image Service",
target Namespace="http://com.test.ImageService")
public class Image Provider {
What does the threshold parameter indicate?

  • A. The minimum number of attachments that can be sent in the message
  • B. The maximum number of attachments that can be sent in the message
  • C. The maximum size in bytes for each attachment to be sent using MTOM.
  • D. The minimum size in bytes for each attachment before MTOM is used. Smaller attachments will use base64 inline encoding.
  • E. The maximum size in bytes for each attachment before MTOM streams to disk. Smaller attachments will keep the attachment in-memory.


Answer : D

An online retailer would like to expand the supply chain Web service application by adding new third party suppliers. Some of the key non-functional requirements include: support for vendor interoperability, loose coupling, long running processes, and to coordinate the order fulfillment across multiple suppliers. The application logic needs to be able to adjust the business processes to accommodate the success or failure of downstream suppliers being able to satisfy the request. Which of the following quality of service standards should be used for the Web services?

  • A. WS-Activity Session
  • B. WS-Business Activity
  • C. WS-Reliable Messaging
  • D. WS-Atomic Transaction
  • E. WS-Business Transaction


Answer : B

A bank would like to design a JAX-WS Web service to transfer funds. The server will be deployed to IBM Web Sphere Application Server V7.0.Two key requirements are to ensure:
1) the request is only sent once 2) cross vendor interoperability What is the best way to accomplish this?

  • A. Use WS-Security
  • B. Use WS-Atomic Transaction
  • C. Use WS-Reliable Messaging
  • D. Add a handler to implement the duplication detection logic
  • E. Implement application code in the Web service to detect duplication


Answer : C

A company is developing a travel portal application using three Web services to complete the booking process for flights, hotels and car rental. The booking process is successful only if all three Web services are successful in completing the booking of flights, hotels and car rental. Which of the following statement is true for the Web service client implementation to accomplish the booking process requirement?

  • A. Enable WS-Coordination only for the 3 Web services
  • B. Enable WS-Atomic Transaction only for the 3 Web services
  • C. Create a global transaction using Java Transaction API (JTA) User Transaction interface
  • D. Create a global transaction using Java Transaction API (JTA) User Transaction interface and enable WS-Atomic Transaction for the 3 Web services


Answer : D

A media company would like to provide an online Web service to encode video in a different format for a fee. The encoding could take hours or days to finish based on the length of the video. The client machine may be restarted after submitting the request and should be able to receive the encoded video. Web services client implementation: 1)
Asynchronous invocation 2) Wire level asynchronous invocation 3) Using two one way messages, one for request and one for response Quality of service: a) WS-Reliable
Messaging b) WS-Reliable Messaging with Transaction enabled
(enableTransactionalOneWay) What is the correct way to call the Web service including the qualities of service?

  • A. (1) with (a)
  • B. (1) with (b)
  • C. (2) with (a)
  • D. (2) with (b)
  • E. (3) with (a)
  • F. (3) with (b)


Answer : F

A company is planning to deploy a key business function implemented as a JAX-WS Web service. The Web service will be consumed by IBMWebSphere Application Server V7.0 and Microsoft .NET clients. Currently, theWeb services is secured by WS-Security. What is the BEST way to communicate policy to the consumers?

  • A. Export the Policy Set and publish the Policy Set on a web site for download
  • B. Enable the provider to export WS-Security Policy annotated WSDL via HTTP GET
  • C. Enable the provider to export WS-Security Policy annotated WSDL via WS-Policy Exchange
  • D. Enable the provider to export WS-Security Policy annotated WSDL via WS-Metadata Exchange


Answer : B

A developer is creating a new Web service from a Java bean. Which of the following tasks
CANNOT be performed using the Create Web Service Wizard in IBM Rational Application
Developer V7.5?

  • A. Enable MTOM support
  • B. Specify custom bindings files
  • C. Publish the Web service to a UDDI registry
  • D. Associate the Web service project with an EAR
  • E. Configure TCP/IP Monitor to monitor SOAP messages


Answer : B

A user wants to specify the WSDL style of a newJAX-WS Web service based on a
JavaBean. Using the Web service generation wizard, which of the following are valid combinations?

  • A. RPC Encoded
  • B. RPC Wrapped
  • C. Document Bare
  • D. Document Literal
  • E. Document Wrapped


Answer : C,E

Refer to the exhibit.
What could be preventing the developer from modifying some properties in the wizard?

  • A. The Java Bean contains an @Web Service annotation
  • B. The delegate class for the Web service already exists
  • C. The developer had selected JAX-RPC for the Web services runtime
  • D. The Web project containing the Java bean is at the J2EE 1.4 level


Answer : A

Refer to the exhibit.
Using the JavaBean in Exhibit 1, the developer runs the following: wsgen -class path
.\classes wsdl test.BookWhat artifacts are generated when the command completes?

  • A. GetIsbn.class, GetIsbnResponse.class
  • B. GetIsbnRequest.class, GetIsbnResponse.class
  • C. BookService.wsdl, GetIsbnRequest.class, GetIsbnResponse.class
  • D. BookService_schema1.xsd, BookService.wsdl, GetIsbn.class, GetIsbnResponse.class
  • E. BookService_schema1.xsd, BookService.wsdl, GetIsbnRequest.class,GetIsbnResponse.class


Answer : D

Refer to the exhibit, and identify the WSDL elements shown by the arrows.

  • A. Message part, port, port type
  • B. Endpoint, interface, message part
  • C. Port, operation, response message
  • D. Port type, response element, service


Answer : A

Using the WSDL editor, how can a developer create anew message for an operation input?

  • A. 1. In the Graph view, right-click on space below the message column 2. Select New -> Message 3. Provide the name of the new message and click OK
  • B. 1. In the Design view, right-click on the input message under the operation table 2. Select Set Message -> New Message 3. Provide the name of the new message and click OK
  • C. 1. In the Design view, select the input message under the operation table 2. Click on the Add message icon in the tool bar 3. Provide the name of the new message and click OK
  • D. 1. In the Graph view, right-click on the name of the input message 2. Select New -> Message 3. Provide the name of the new message and click OK


Answer : B

A developer uses wsimport to generate Web service client artifacts. What will the wsdllocation attribute do?

  • A. It will specify the WSDL location in the generated artifacts.
  • B. It will specify the location of the WSDL from which to generate the Web service client artifacts
  • C. It will specify the relative location of the WSDL file from which to generate the Web service client artifacts
  • D. It will ensure that the WSDL is packaged appropriately in the EAR file.


Answer : A

Refer to the exhibit.
A developer uses the Web service client wizard in IBM Rational Application Developer.
What will be different in the generated artifacts?

  • A. Additional methods will be generated to invoke the Web service.
  • B. A JAX-RPC handler is created to handle the response from the Web service.
  • C. The ibm_webserviceclient_bnd.xmi file specify that the invocation is asynchronous.
  • D. There is no change in the generated artifacts, only the methods called from the actual client will vary.


Answer : A

Page:    1 / 5   
Exam contains 75 questions

Talk to us!


Have any questions or issues ? Please dont hesitate to contact us

Certlibrary.com is owned by MBS Tech Limited: Room 1905 Nam Wo Hong Building, 148 Wing Lok Street, Sheung Wan, Hong Kong. Company registration number: 2310926
Certlibrary doesn't offer Real Microsoft Exam Questions. Certlibrary Materials do not contain actual questions and answers from Cisco's Certification Exams.
CFA Institute does not endorse, promote or warrant the accuracy or quality of Certlibrary. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.
Terms & Conditions | Privacy Policy