In this step, you will use the XML Binding Wizard to create the inbound request binding iiiPRO06_request.jar.
- With your iii Training project open in Studio:
- Right-click on the Server XML Employees Request folder and select New Solution.
- Select the XML Binding Wizard from the Tool dropdown
- Solution Group should already contain Server XML Employees Request
- Type iiiPRO06_request in the Solution File input field. Click OK.
- The XML Binding Project dialog appears.
- Click on the Browse button. Select the file iiiPRO06_request.xml then click on the Open button.
- On the New XML Binding Project dialog, click OK. The XML Binding Wizard main window will now appear. Change Package to com.iiicompany.service.xml
- Click the Inbound checkbox. Select the newly-created Inbound tab.
- Map the XML tag DepartmentCode to the LANSA field DEPTMENT as follows:
- From the Inbound tab, mark the DepartmentRequest root tag as a Fragment.
- Select the Department Code tag and select Edit from the context menu. Enter DEPTMENT for the Name and click OK
Your XML Binding should look like the following:
- Build your service by clicking the. Build button on the toolbar.
Your JAR file has now been generated and compiled. - Save your work and Exit the XML Binding Wizard.