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.
- In your iii Training project, create a New Solution Group / Client XML Employees Response.
- Select the new group and create a New Solution.
- Use the XML Binding Wizard to create a new Solution. Give the solution file the name iiiPRO07_response.
- Browse to select iiiPRO06_response.xml from folder Server XML Employees Response for the XML source.
- Change the Package name to com.iiicompany.service.xml.
- Click the Inbound checkbox in the XML Binding Wizard and select the Inbound tab.
- Mark the root EmployeeList node as a fragment.
- Edit the Code node and set its Name to EMPNO.
- Edit the FullName node and set its Name to FULLNAME.
- Mark EmployeeSkill as a list.
- Edit SkillDesc and set its Name to SKILDESC.
- Build and compile your solution. Save your work and close the XML Binding Wizard.