for (Iterator<String> iterator = output.getNames(); iterator.hasNext(); ) {
String paramName = iterator.next();
ActualParameter actualParameter = (ActualParameter) output.getValue(paramName);
if ("URIArray".equals(actualParameter.getType().getType().toString())) {
URI outputURI = GfacUtils.createGsiftpURI(endpoint,app.getOutputDataDirectory());
List<String> outputList = ftp.listDir(outputURI,gssCred);
String[] valueList = outputList.toArray(new String[outputList.size()]);
((URIArrayType) actualParameter.getType()).setValueArray(valueList);
stringMap = new HashMap<String, ActualParameter>();
stringMap.put(paramName, actualParameter);
invocationContext.getExecutionContext().getNotifier().output(invocationContext, actualParameter.toString());