MultipleChoice
Your developer is asked to build a Timesheet service that is able to receive timesheet submissions for an internal payroll system. Service consumers need to be able to send this service request message based on a root "employeeHours" element within the SOAP message body. The "employeeHourse" element will contain "ernpID" and "hours" child elements. Furthermore, the service needs to return a message based on a "response" element that contains "empID" and "status" child elements. Your developer comes to you with the following WSDL definition:
The only revision you suggest is that the value of the "style" attribute of the "soap: binding" element be changed to "document" instead of "rpc". Why?
OptionsMultipleChoice
You have created an XML schema for a Purchase Order service. The schema, named "po.xsd", is as follows:
Because you believe this schema will need to also be used in several different services, you decide to separate it from the WSDL definition by placing it into its own XML Schema definition. As a result, you now need to import the XML schema into the WSDL document. Which of the following code fragments shows a valid way to import the schema shown above into a WSDL "types" element?
Options