live chatMcAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Pass4Test 10%OFF Discount Code

Lotus Using Web Services in IBM Lotus Domino 8 Applications - 190-805 Exam Questions

QUESTION NO: 1
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: A
QUESTION NO: 2
Makayla is fetching employee data using a Web service. Here is the code from the script library that she created from the WSDL: Class EMPLOYEE As XSD_ANYTYPE Public EMPNAME As String Public EMPTITLE As String Public EMPEMAIL As String Public EMPPHONE As String Sub NEW End Sub End Class Class EmpData As PortTypeBase Sub NEW Call Service.Initialize ("UrnDefaultNamespaceEmpDataService", _"EmpDataService.Domino", _"http://ibm.com/app.nsf/EmpData?OpenWebService", "EmpData") End Sub Function GETEMPINFO(EMPID As String) As EMPLOYEE Set GETEMPINFO = Service.Invoke("GETEMPINFO", EMPID) End Function End Class Assuming that strID holds the argument needed for the Web service method, how can Makayla display the employee's name and title?
Correct Answer: N
QUESTION NO: 3
Barry is examining a WSDL file for his Domino Web service. What role does the Port element have in the file?
Correct Answer: B
QUESTION NO: 4
The WSDL files generated by Domino Web services typically contain the following namespace definition: xmlns:xsd="http://www.w3.org/2001/XMLSchema" What does this namespace relate to?
Correct Answer: D
QUESTION NO: 5
Martina has developed the OrderStatus Web service in the Sales.nsf database. What is one way she can access the WSDL document for this Web service, using her Web browser?
Correct Answer: A
QUESTION NO: 6
Shelley has written a Web service in her Domino application and would like to test the service locally. How can she do that?
Correct Answer: B
QUESTION NO: 7
Yeon is trying to open a WSDL file to use to start creating a Web Service consumer. She notices that the dialog box that opens is a file system browser. Yeon does not have a local copy of the WSDL file; she has a url pointing to the WSDL on the company intranet. How should Yeon proceed?
Correct Answer: C
QUESTION NO: 8
Kathryn needs to provide data from her Domino application to an external vendor. She has been told that she should consider providing the data via a Web service. Which of the following is a correct definition of a Web service?
Correct Answer: D
QUESTION NO: 9
Chuck has the following class defined as a complex data type in his LotusScript Web service: Public Class PersonInfo Public FirstName As String Public LastName As String PhoneNumber As String Private Email As String Public Function FullName () As String FullName = FirstName + " " + LastName End Function End Class What properties of that complex data type will be visible to a consumer of this Web service?
Correct Answer: D
QUESTION NO: 10
Mathias generated LotusScript Web service consumer code in a script library, and he calls that library from an agent. To simplify things, he wants to copy all of the Web service consumer code from the script library to the agent, so that all of the code is in the agent and he can delete the script library. Will this work?
Correct Answer: C