最新的Lotus Using Web Services in IBM Lotus Domino 8 Applications - 190-805免費考試真題
問題1
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?
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?
正確答案: C
問題2
Examine the following WSDL excerpt: <wsdl:portType
name="GetEmployeeInfo"> <wsdl:operation name="GETEMPNAME"><wsdl:input
message="impl:GETEMPNAMERequest" name="GETEMPNAMERequest"/><wsdl:output
message="impl:GETEMPNAMEResponse" name="GETEMPNAMEResponse"/>
</wsdl:operation>
<wsdl:operation name="GETEMPID"> <wsdl:input message="impl:GETEMPIDRequest"
name="GETEMPIDRequest"/><wsdl:output message="impl:GETEMPIDResponse"
name="GETEMPIDResponse"/></wsdl:operation> </wsdl:portType> Paola is developing a
Domino
Web service to supply the appropriate response(s) for the operations represented in the WSDL.
How
many of what type(s) of LotusScript code blocks must she create?
Examine the following WSDL excerpt: <wsdl:portType
name="GetEmployeeInfo"> <wsdl:operation name="GETEMPNAME"><wsdl:input
message="impl:GETEMPNAMERequest" name="GETEMPNAMERequest"/><wsdl:output
message="impl:GETEMPNAMEResponse" name="GETEMPNAMEResponse"/>
</wsdl:operation>
<wsdl:operation name="GETEMPID"> <wsdl:input message="impl:GETEMPIDRequest"
name="GETEMPIDRequest"/><wsdl:output message="impl:GETEMPIDResponse"
name="GETEMPIDResponse"/></wsdl:operation> </wsdl:portType> Paola is developing a
Domino
Web service to supply the appropriate response(s) for the operations represented in the WSDL.
How
many of what type(s) of LotusScript code blocks must she create?
正確答案: A
問題3
Gill has written the following LotusScript Web service class: Class GetNum Private i As Integer Public Sub New(i As Integer) Me.i = i End Sub Public Function getInt() As Integer getInt = i End Function End Class He has set the PortType class properly, but he keeps getting an error when he tries to save the Web service. Why is he getting the error?
Gill has written the following LotusScript Web service class: Class GetNum Private i As Integer Public Sub New(i As Integer) Me.i = i End Sub Public Function getInt() As Integer getInt = i End Function End Class He has set the PortType class properly, but he keeps getting an error when he tries to save the Web service. Why is he getting the error?
正確答案: C
問題4
Web service errors are returned in what type of object?
Web service errors are returned in what type of object?
正確答案: B
問題5
Collin is writing a Domino Web service to provide product inventory information. What signature of
the getQuantity function in his Web service would result in this WSDLbeing part of the associated
WSDL document? <wsdl:message name="GETQUANTITYResponse"> <wsdl:part
name="GETQUANTITYReturn" type="xsd:short"/>
</wsdl:message>: <wsdl:operation name="GETQUANTITY" parameterOrder="PRODID">
<wsdl:input message="impl:GETQUANTITYRequest"
name="GETQUANTITYRequest"/><wsdl:output message="impl:GETQUANTITYResponse"
name="GETQUANTITYResponse"/></wsdl:operation>
Collin is writing a Domino Web service to provide product inventory information. What signature of
the getQuantity function in his Web service would result in this WSDLbeing part of the associated
WSDL document? <wsdl:message name="GETQUANTITYResponse"> <wsdl:part
name="GETQUANTITYReturn" type="xsd:short"/>
</wsdl:message>: <wsdl:operation name="GETQUANTITY" parameterOrder="PRODID">
<wsdl:input message="impl:GETQUANTITYRequest"
name="GETQUANTITYRequest"/><wsdl:output message="impl:GETQUANTITYResponse"
name="GETQUANTITYResponse"/></wsdl:operation>
正確答案: B
問題6
Cassie has been asked to help her team learn how to develop and deploy Domino Web services. She is writing descriptions of some of the standards and protocols used in Web services. What are some distinctions among SOAP, XML, and WSDL?
Cassie has been asked to help her team learn how to develop and deploy Domino Web services. She is writing descriptions of some of the standards and protocols used in Web services. What are some distinctions among SOAP, XML, and WSDL?
正確答案: C
問題7
Martin sees the following attribute in the WSDL wsdl:service element: name="GetEmployeeNameService" Where is that attribute set in the Web service in Domino Designer?
Martin sees the following attribute in the WSDL wsdl:service element: name="GetEmployeeNameService" Where is that attribute set in the Web service in Domino Designer?
正確答案: B
問題8
Liz wrote a LotusScript Web service method with the following structure: Public Function lookupPersonInfo (personName As String) As PersonInfo '** do the lookup, return the information in our custom PersonInfo data typeEnd Function PersonInfo is a complex data type that is used to return various pieces of information in a single object. How does Liz need to define this complex data type in her LotusScript Web service code?
Liz wrote a LotusScript Web service method with the following structure: Public Function lookupPersonInfo (personName As String) As PersonInfo '** do the lookup, return the information in our custom PersonInfo data typeEnd Function PersonInfo is a complex data type that is used to return various pieces of information in a single object. How does Liz need to define this complex data type in her LotusScript Web service code?
正確答案: A
問題9
Harlan is examining the SOAP message from his Web service. He notices the use of a soap namespace and some other namespaces as well. What is the purpose of using namespaces?
Harlan is examining the SOAP message from his Web service. He notices the use of a soap namespace and some other namespaces as well. What is the purpose of using namespaces?
正確答案: A
問題10
Violet is responsible for maintaining a Domino Web service that is used extensively in her organization. She wants to make sure that any changes made to the Web service that would alter the WSDL file do not get saved accidentally to the application design. What can she do to help prevent this?
Violet is responsible for maintaining a Domino Web service that is used extensively in her organization. She wants to make sure that any changes made to the Web service that would alter the WSDL file do not get saved accidentally to the application design. What can she do to help prevent this?
正確答案: C