Removing a IData from a IData Array in runtime

I am trying to remove Document (IData) which is null from the DocumentList (IDataArray) in runtime. The structure of the documentList or document is dynamic. For example, If a DocumentList contains 4 Documents, but the third document is null. The expected output is a DocumentList with 3 Document and that Document which is null should be deleted. Is there a cursor or method readily available in webMethods java API to remove the IData from the IDataArray using the index?

Hi,
There is no out of the box solution. You have to regenerate the IData array.
You can use a list in java service as a temporary storage and add your non-null IData objects to it and then regenerate the new array.

Cheers
Guna
http://www.nibodo.com