In this tutorial, you will create the JSM Binding Script Configuration that uses the LANSA Integrator JSON binding solution that you created in the previous tutorial. Later we will use the new JSM Binding Script Configuration to receive the JSON request.

Select each of the JSM command directives in turn, and in the Details area at the bottom, type (or copy and paste) the next JSM command from the list below:SERVICE_LOAD SERVICE(JSONBindFileService) READ FILE(&MY_JSON_REQUEST) BIND SERVICE(REQUESTTUTORDJSON)TYPE(*INBOUND) BINDTRACE(*YES) CLOSE SERVICE_UNLOAD



If you wish, you can use the Insert button or the context menu to insert some comment lines describing what the script is doing. When complete, your script should look similar to this:
When you look at your JSM binding script (as shown above) you should see an asterisk on the line containing the BIND SERVICE command. The asterisk indicates that the Exchange fields checkbox is checked for that line. If you do not see that, then go back to step 6 and make sure you have completed it as instructed. |
Now continue with the following tutorial:
JSM024 – Test the JSM Binding Script Configuration that receives the JSON Request