Good article. I prefer to use the IDataUtil class for
parsing the IData object since you can retrieve the desired
value in one line rather than two. I have also gotten into
trouble using ‘first’ when trying to reset an existing
pipeline variable.
So we can replace the following two lines:
idcItem.first(“Price”);
String price = (String)idcItem.getValue();
with:
String price = IDataUtil.getString(idcItem,“Price”);
There are other API calls for getting IData records, arrays,
etc.
Will
#Integration-Server-and-ESB#Flow-and-Java-services#webMethods