Dolores has written a Domino Web service that accepts an employee name as input, and returns Employee information associated with the name. Here is an excerpt from the WSDL associated with the Web service: <wsdl:portType name="EmployeeInfo"><wsdl:operation name="GETEMPID" parameterOrder="FULLNAME"><wsdl:input message="impl:GETEMPIDRequest" name="GETEMPIDRequest"/><wsdl:output message="impl:GETEMPIDResponse" name="GETEMPIDResponse"/><wsdl:fault message="impl:NAMELOOKUPFAULT" name="NAMELOOKUPFAULT"/></wsdl:operation>
Which of the LotusScript function signatures below would have resulted in the WSDL shown above?
A. FunctiongetEmpID( FullName As String, NameLookupFault As String ) As EmployeeInfo
B. FunctiongetEmpID( FullName As String, NameNotFoundFault As NameLookupFault ) As String
C. FunctiongetEmpID( FullName As String, NameLookupFault As WS_FAULT ) As EmployeeInfo
D. FunctiongetEmpID( FullName As String, NameLookupFault As WS_FAULT ) As String
正解:B
質問 2:
Eloise has created a Domino Web service to provide on-hand inventory data to her companies suppliers. She would like to check the performance of the Web service. What step(s) must Eloise follow to enable profiling of her Web service?
A. From the Advanced tab of the database properties box, check "Enable Web service profiling."
B. Have a Domino Administratorcreate an Activity Trends profile for the Web service on the hosting server. From the Advanced tab of the database properties box,
C. "
D. Have a Domino Administratorcreate a Web Service profile for the Web service on the hosting server. From the Security tab of the Web service properties box,
E. "
F. From the Security tab of the Web service properties box, check "Profile this Web service."
正解:F
質問 3:
What are the four subelements that may be found within a valid SOAP 1.1 fault?
A. faultcode, faultstring, faultactor, detail
B. faultCode, faultString, faultActor, faultDetail
C. FaultCode, FaultString, FaultActor, FaultDetail
D. code, string, actor, detail
正解:A
質問 4:
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>
A. Private FunctionGETQUANTITY( PRODID As String ) As Single
B. Public FunctiongetQuantity( ProdID As String ) As Double
C. Private FunctionGETQUANTITY( PRODID As String ) As Long
D. Public FunctiongetQuantity( ProdID As String ) As Integer
正解:D
質問 5:
Lorraine is examining a WSDL file for her Domino Web service. What role does the Message element have in the file?
A. It defines messages that can be displayed to the end user.
B. It defines error messages that can be returned to the browser.
C. It is an abstract definition of data being communicated to or from the Web service.
D. It stores the actual data being sent to the Web service.
正解:C
質問 6:
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. As a customLotusScript Type
B. As a separate Public class
C. As a separate Private class
D. As a Private Function calledPersonInfo_Type within the class that defines the Web service
正解:B
質問 7:
Nils is developing a Domino Web service to return employee data. The Web service will accept an employee name, and return the ID, phone number, and salary of the employee. Nils had started to code a separate public function to return each of these data items, but is wondering if he can create a Web service that will accept the employee name and return all 3 desired fields at once. Can he do this in Domino? Why or why not?
A. Yes. Nils can code a public sub with 4 parameters: one input parameter and threeinout parameters.
B. No. Domino Web services must include a public class, and that public class must expose a public function for each defined operation. Each function returns a
C. No. Domino Web services must include a public class. That class may include functions and subs, but subs cannot return values, so Nils must use functions.
D. Yes. Nils can code a public function with 4 parameters: one input parameter and three output parameters.
正解:A
質問 8:
Jerry has coded a function called ConnectToProvider in the GetAccountBalance class in the Declaration section of his Web service. What WSDL element will be used to control the request to and response of the function?
A. wsdl:method
B. wsdl:message
C. wsdl:part
D. wsdl:binding
正解:B
松木** -
本当に試験対策になっていて、試験に出てくる問題はほぼこの問題集にも出てました。