Skip to end of metadata
Go to start of metadata

This is very straightforward. You may need to review the StringTemplate docs to fully understand the templates, but they are quite self explanitory. Also, take a look at the .cdrl configurations below. These configs describe how the beans above get populated, and when the StringTemplate scripts get executed.

For transforming the request, we have the StringTemplate script. This script will use the "current" TrackingNumber bean instance.


For transforming the response, we have the and StringTemplate scripts. The script will use the "current" Heading bean instance.



So, as you may have noticed, the is called/included from the script to output the multiple "trackingNumber" elements from the TrackingNumber bean list available from the History bean.


  • No labels