I can't seem to figure out how to pass an array of unknown size using ACL and I was hoping maybe somebody could help me out. The size of the arrary varies depending on the number of CMS objects that the document contains.
local children; poid_list_children(logicalID, children); java_static('com.kencook.arbortext.PackageXML','getChildren', children);
Arbortext gives me this error when I try to pass the children array to my java method:
Java doesn't grok ACL arrays directly, and vice versa, so you have to use functions to convert ACL arrays to Java (and back again, if you need to). Look at the online help for information on the java_array_from_acl() and java_array_to_acl() functions.