LOT-805 training materials
1. Joe is creating a Web service. What role does UDDI play in a Web service?
A. UDDI defines the methods of a specific Web service.
B. UDDI controls the access levels of a Web service client.
C. UDDI allows listing and discovery of available Web services.
D. UDDI validates the proper functioning and use of a Web service.
Answer: C
2 .Which of the following things would cause the WSDL of a Domino Web service to be regenerated?
A. Changing a parameter of a public method
B. Changing the code within a public method
C. Signing the Web service with a different ID
D. Adding or removing an implicit Fault from a public method
Answer: A
3.Philip is adding error handling to the getProductDescr function in his Domino Web service. Philip has added the "Option Declare" line in the (Options) section of his code. The function signature is: Function getProductDescr( ProdKey As String, ProdNotFound As WS_FAULT
) As String In the error handling code of the function, Philip has added this line: Call ProdNotFound.setFault(True) When he tries to save the Web service, he receives the message, "Class or type name not found: WS_FAULT". How can Philip fix this error?
A. SetFault is a property of WS_FAULT, not a method. Change the line to ProdNotFound.setFault = True
B. WS_FAULT is defined in the lsxsd.lss file. Add this line to the (Options) section of the Web Service: %INCLUDE "lsxsd.lss"
C. The ProdNotFound object has not been instantiated. Add this line prior to calling the setFault method: Set ProdNotFound = New WS_FAULT
D. Default settings for Domino Web services do not support generating faults. Select "CompileLotusScript code with debugging information" from the Advanced
Answer: B