Welcome to TestSimulate

Pass Your Next Certification Exam Fast!

Everything you need to prepare, learn & pass your certification exam easily.

365 days free updates. First attempt guaranteed success.

Lotus Using Web Services in IBM Lotus Domino 8 Applications (190-805) Free Practice Test

Question 1
Selina wrote a LotusScript Web service method with the following structure:
Public Function lookupPersonInfo (personName As String, f As WS_FAULT) As PersonInfo '** do
the lookup, return the information in our custom PersonInfo data type End Function What is the
purpose of the WS_FAULT parameter in the Function definition?

Correct Answer: A
Question 2
Alberto sees the following attribute in the WSDL wsdlsoap:binding element: style="document" Where is that attribute set in the Web service in Domino Designer?

Correct Answer: D
Question 3
Benita has created the OrderStatus Web service in the Sales.nsf database. She would now like to test the Web service by retrieving the status of order number 12A45. From her Web browser's address bar, she types the url of the Web service, followed by ?OpenWebService12A45. The Web service expects the order number to be passedas the only parameter, but the page that opens only displays information about the Web service. What is the problem?

Correct Answer: D
Question 4
Cameron has been asked to build a Web service to return the temperature of a given city. He has a temp.wsdl file that defines the functions of the Web service and the format of the input and output. What is the first step that Cameron should take?

Correct Answer: C
Question 5
Otto has has developed CORBA applications in the past to allow external systems to access Domino data. His manager has now asked him if he can develop some Domino Web services. Otto sees that Web services use SOAP. What are some of the characteristics of SOAP?

Correct Answer: C
Question 6
Jonas is developing a Web service. Here is the code he as written so far: Private Class Employee empName As String empTitle As StringempPhone As String End Class Class EmployeeDataFunction GetEmpInfo(id As String) As Employee End Function End Class When Jonas tries to compile and save this initial stub of code, he receives an error stating that a member of a public class is an instance of a private class. How can he correct this?

Correct Answer: F
Question 7
Manju has coded the following two lines in his SOAP request envelope: <stock xsi:type="xsd:string">IBM</stock> <currency xsi:type="xsd:string">USD</currency> Whattype of data is being passed to the Web service with these statements?

Correct Answer: C
Question 8
Sofie has created a LotusScript Domino Web service. She can compile successfully, and she can generate WSDL that appears to be correct. But the Web service is not returning the expected values. Sofie is considering adding messagebox statements within the Web service code in an attempt to help debug. Will messagebox statements return any output that she can examine?

Correct Answer: C
Question 9
Roosevelt wants to write a Domino Web service that queries the Notes database in which it resides, and returns a String result based on that query. What is the easiest way for him to write this Web service?

Correct Answer: A
Question 10
Roberto is trying to create a Domino Web service to return an array of 3 String values containing Employee information. As a start, he is hardcoding some values to test his code. But examining the generated WSDL, Roberto does not see an array being returned from this Web service. What is the problem? Class GetEmpData Function getData() As Variant Dim empData(0 To 2) As StringempData(0) = "This is the Name" empData(1) = "Here is the ID"empData(2) = "This is the Phone" getData = empData End Function End Class

Correct Answer: B