Step 2 Create iiiFN09 Client Inbound response bindings

LANSA Integrator

Step 2. Create iiiFN09 Client Inbound (response) bindings

INT009 – Department & Employee Client (Optional)

In this step, you will create bindings for iiiPRO06_response.xml. In INT008, this file had outbound bindings, since that function was acting as the server. This time, you are creating a client function, so the bindings for your response XML will be inbound. Note that you are binding the same XML as in INT008.

1.  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.

2.  Click the Inbound checkbox in the XML Binding Wizard.

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.