Hi Kumar,
The pub.art:listRegisteredAdapters java service returns an Array of IData objects with parameters adapterTypeName and adapterDisplayName.
if I remember correctly, below are the steps to retrieve the desired values.
- listRegisteredAdapters returns an IData object.
- Create a cursor out of it.
- retrieve the IData array using IDataUtil.getIDataArray(IDataCursor idc, java.lang.String key). key will be “registeredAdapterList”.
- iterate through the IDataArray
4.1 get cursor for the IData
4.2 use IDataUtil.getString(IDataCursor idc, java.lang.String key) to retrieve the values for the keys adapterTypeName and adapterDisplayName
Note: I have the working code in my personal laptop. I will share that with you shortly.
Thanks and Regards,
Rajkumar
#webMethods#webMethods-Archive#Integration-Server-and-ESB