In this step, you will begin to write the RDMLX for the Server side GET. The server function will receive the XML from the client.
- Create a new LANSA process named iiiPRO06 XML Employees Server, where iii is your unique 3 characters. (If the process already exists, select a different set of characters for iii.).
- Create a new function named iiiFN06 Department & Employees Server, belonging to process iiiPRO06. Create the function without using a template and make sure that Enabled for RDMLX is checked.
- With your iii Training project open in Studio, expand the Solutions / Server XML Employees Request / samples / RDMLX folder and open file SAMPLE_RDMLX_INBOUND_HTTP.txt in the Text Editor. Copy all the code into function iiiFN06, replacing existing code.
- Change the GROUP_BY name to DEPTREQ. This GROUP_BY is a reference for mapping field DEPTMENT. The code generator does not currently recognize RDMLX name limits.
- At this point your function has all the logic needed to receive the department code request XML
- Save this function. It is not yet complete and will be finished in a later step.