190-805試験無料問題集「Lotus Using Web Services in IBM Lotus Domino 8 Applications 認定」
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?
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?
正解:C
解答を投票する
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?
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?
正解:D
解答を投票する
Jeremiah wrote a LotusScript agent that acts as a Web service consumer.
The code looks like this: On Error Goto wsErrorDim converter As New WSConverterClassPrint
converter.ConvertToNumber("a") Exit Sub wsError: Print "An error occurred" Exit Sub If the
ConvertToNumber method generates a fault, what happens in the agent?
The code looks like this: On Error Goto wsErrorDim converter As New WSConverterClassPrint
converter.ConvertToNumber("a") Exit Sub wsError: Print "An error occurred" Exit Sub If the
ConvertToNumber method generates a fault, what happens in the agent?
正解:E
解答を投票する
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?
Which of the LotusScript function signatures below would have resulted in the WSDL shown above?
正解:B
解答を投票する
In order to call Jeff's Domino Web service, Cerina has coded the following SOAP message:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><p582:op1 xmlns:p582="http://apiNamespace.com"><in> <data1>1</data1><data2>2</data2> </in> </p582:op1></soapenv:Body> </soapenv:Envelope> What does the xmlns:soapenv attribute refer to?
正解:D
解答を投票する
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?
正解:C
解答を投票する
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?
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?
正解:C
解答を投票する