190-805試験無料問題集「Lotus Using Web Services in IBM Lotus Domino 8 Applications 認定」

Web service errors are returned in what type of object?

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?

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?

The GetEmployeeInfo Web service has been coded in LotusScript. Heinz now wants to test to see if the Web service is available from the Domino server on which it resides. How can he do this?

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?

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?

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?

Cam is coding a Domino application that will provide a Web service. Where will he add the Web service code in Domino Designer?

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?

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?