Step 5. Create iiiFN06 Server Outbound (response) binding
INT005 - Department Inquiry Bindings
In this step, you will use the
to create the outbound response binding iiiPRO04_response.jar.. This jar file will bind the outbound XML from the Server to send to the client. You will define the mappings from your LANSA fields into the XML response document.1. With your iii Training project open, right click on to create a .
2. Select the
tool from the dropdown.3. Create the new XML Response group.
in the4. Type iiiPRO04_response in the
input field. Click . The dialog will appear.5. Select the
button and select the source XML file.a. A
dialog will be displayed.b. Click on the iiiPRO04_response.xml file to select it.
c. Click on the
button.d. Click on the
button.6. The com.iiicompany.service.xml
main window will appear. Change the e to7. You will now map the XML tag Description to the LANSA field DEPTDESC as follows:
a. Select the Outbound checkbox (You will be creating the outbound response binding). A new Outbound tab will appear.
b. Select the
tab. Right click on the DepartmentResponse root tag and select Fragment option from the pop-up menu.c. Right click on
and select Edit from the pop-up menu.d. In the DEPTDESC for the Name and click . Your mapping should look like the following:
dialog, type in
8. Create the outbound request binding as follows:
a. Select the Project menu and choose the Build option. This generates and compiles the project in order to create the necessary jar file to do the outbound request binding. You could also have used the
toolbar button.9. Using the File menu, select the Save option. Alternatively, click the
toolbar button.10.Close the
.11.Once again, in your
solution group, note that a number of files have been generated, some of which you will use to build the rest of the application.