In this tutorial, you will create the JSM Binding Script Configuration that uses the LANSA Integrator SOAP Agent solution that you created in the previous tutorial.



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(SOAPAgentServiceOPEN SERVICE(CurrencyExchangeRate)SET OPERATION(ConversionRate)SET PARAMETER(FromCurrency)SET PARAMETER(ToCurrency)CALL URL(http://www.webservicex.net/CurrencyConvertor.asmx)CLOSESERVICE_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 asterisks on the lines containing each of the two SET PARAMETER(…) commands and the line containing the CALL URL(…) command. That is, on three lines in total. The asterisk indicates that the Exchange fields checkbox is checked for that line. If you do not see that, then go back and check that you have completed steps 5 and 6 above. |
Now continue with the following step:
JSM013 - Create a Processing Sequence to use the JSM Binding Script Configuration