Concepts

INT007 - Department & Employee Server

So far in these exercises you have learned how to send a list of items. Using fragments of XML enables you to send lists where each list item can contain repetitive information. In this exercise, for a requested department code, the server function will return a list of Employees for that department. For each Employee the server function will also return a list of skills for the employee.

  • In this exercise, the server will GET the Department Code, select all the employees for the nominated department, SET the Employee's information into a fragment for each employee, and SET a list of that employee's skills. The response XML will therefore become a repeated set of Employee fragments, each with a list of skills.
  • This table summarizes the relationship between the input XML, the JAR file, function and JSM command used for this exercise:

    Input XML

    Binding

    JAR file

    JSM Command

    iiiPRO06_request.xml

    Inbound

    iiiPRO06_request.jar

    GET

    iiiPRO06_response.xml

    Outbound

    iiiPRO06_response.jar

    SET