INT008 – Department & Employee Client (Optional)
In this step, you will create bindings for iiiPRO06_response.xml. In exercise INT007, this file had outbound bindings, since that function was acting as the server. This time, you are creating a function that will be used as a client, so the bindings for your response XML will be inbound. Note that you are binding the same XML as in exercise INT007.
1. In your iii Training project, create a New Solution Group / Client XML Employees Response.
a. Select the new group and create a New Solution.
b. Use the XML Binding Wizard to create a new Solution. Give the solution file the name iiiPRO07_response.
c. Browse to select iiiPRO06_response.xml from folder Server XML Employees Response for the XML source.
d. Change the Package name to com.iiicompany.service.xml.
2. Click the Inbound checkbox in the XML Binding Wizard and select the Inbound tab.
a. Mark the root EmployeeList node as a fragment.
b. Edit the Code node and set its Name to EMPNO.
c. Edit the FullName node and set its Name to FULLNAME.
d. Mark EmployeeSkill as a list.
e. Edit SkillDesc and set its Name to SKILDESC.
3. Build and compile your solution. Save your work and close the XML Binding Wizard.