最新的Lotus Using Web Services in IBM Lotus Domino 8 Applications - 190-805免費考試真題
Ruth wants to build a Domino Web service that returns a complex data type when called by SOAP request. The data type will be called AccountInformation, and will contain the vendor name and the account balance. How would she define this in the Web service?
正確答案: O
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?
正確答案: G
Dale modified his Web Service and added two new methods. What can he do to make sure he knows that the WSDL file will be modified when he saves the Web service?
正確答案: D
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?
正確答案: C
A WSDL file defines the following Enumeration: <xsd:simpleType name="vegetableType"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="Carrot"/> <xsd:enumeration value="Lettuce"/> <xsd:enumeration value="Ketchup"/> </xsd:restriction> </xsd:simpleType> What do we know about the "vegetableType" enumeration, based on this definition?
正確答案: B
Lorraine is examining a WSDL file for her Domino Web service. What role does the Message element have in the file?
正確答案: A
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"SOAP-
ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><
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?
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"SOAP-
ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><
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?
正確答案: B
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?
正確答案: D
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>
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>
正確答案: C
Cam is coding a Domino application that will provide a Web service. Where will he add the Web service code in Domino Designer?
正確答案: B