Hi all,
I have a java service that is basically scanning a directory. To be short, the code looks like :
String dir_list[];
dir_list = dir.list();
idcPipeline.insertAfter("fileList", dir_list);
Then this service is used in a web service.
The problem is “fileList” parameter is not an array of string as expected but an array of pointer (according to the pipeline’s icon for this field) so the consumer of my webService can’t read it :
object(stdClass)#5 (1) {
["ArrayOfstringItem"]=>
string(27) "[Ljava.lang.Object;@9113f94"
}
As consequence, I have to loop against this array in a Flow in order to
build a real string array. Any way more efficient way to do that ? How
can I get directly an array of string as output of my java service ?
Thanks
Laurent
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods