Lotus Using Web Services in IBM Lotus Domino 8 Applications 認定 190-805 試験問題:
1. 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?
A) Service attribute name field in the Web Services property box
B) Service element name field in the Web Services property box
C) Service port name field in the Web Services property box
D) Service type name field in the Web Services property box
2. 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?
A) Select the "Do Not Allow WSDL Interface Changes" option in the Web Service Properties dialog box.
B) Select the "Flag WSDL Interface Changes" option in the Web Service Properties dialog box.
C) Select the "WSDL Is Read Only" option in the Web Service Properties dialog box.
D) Select the "Warn IfThe WSDL Interface Is Modified" option in the Web Service Properties dialog box.
3. 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?
A) Web service address
B) SOAP namespace
C) Web service location
D) WSDL location
4. 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?
A) The fault is reported as a runtime error condition in the agent, and theLotusScript Error statement will return details about the fault.
B) The fault is reported as a runtime error condition in the agent. Information reported by the LotusScript Error statement is general in nature, but details about
C) The fault is not reported as a runtime error condition in the agent, but theConvertToNumber method will return a Fault object instead of the data type it
D) Details about the fault can be retrieved from that Fault object.
E) The fault is not reported as a runtime error condition in the agent, but it will be available from the"converter" object.
5. Frances has a Web services client that generates the following SOAP message when calling a Domino Web service that has been written in LotusScript: <?xml version='1.0' encoding='UTF8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SOAP-ENV:Body><ns1:GETPERSONINFO xmlns:ns1="urn:DefaultNamespace"SOAPENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <PNAME xsi:type="ns1:PERSONNAME"><FIRSTNAME xsi:type="xsd:string">Billy Bob</FIRSTNAME> <LASTNAME xsi:type="xsd:string">Brubaker</LASTNAME> </PNAME> </ns1:GETPERSONINFO> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Based on the structure of this message, which of the following represents the possible signature of the LotusScript function that implements the "GetPersonInfo" method?
A) Function GetPersonInfo (pname As PersonName, firstName As String, lastName As String) As PersonInfo
B) FunctionGetPersonInfo (pname As PersonName) As PersonInfo
C) FunctionGetPersonInfo (firstName As String, lastName As String) As PersonName
D) FunctionGetPersonInfo (pinfo As PersonInfo) As PersonName
質問と回答:
質問 # 1 正解: B | 質問 # 2 正解: D | 質問 # 3 正解: B | 質問 # 4 正解: B | 質問 # 5 正解: B |