The beanshell bit does not fit in my problem because I have a web service doing 
that.  My question was that I do not know how to feed a list into the web 
service.  The web service itself takes on single entries from the list, 
therefore iteration is needed.

the 'get all files in this directory' processor is exactly what I want, but is 
there a similar alternative that let me to define the content of the input 
list? because I do not really need all files in a directory.

Thanks.


>> (4) Finally, a question.  How do I handle a list of strings as input /
>> output?  Say, a pseudo example, the list of strings stores a list of
>> file names.   I have a processor takes on one of the file name, opens
>> the file and does some interesting changes to that file, changes the
>> file name by appending “_update” to the end of the original name, and
>> then repeats until all files in the list are updated.   The process
>> outputs a list with the new file names.

Make a beanshell script that takes a single input (the filename) and
outputs the new filenames.

If you connect this to a 'Get all files in this directory' processor
(which returns a list) - the implicit iteration should do the loop for
you, and you would hence get a list of _updated filenames out.

-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/



      __________________________________________________________________
Get the name you've always wanted @ymail.com or @rocketmail.com! Go to 
http://ca.promos.yahoo.com/jacko/
------------------------------------------------------------------------------
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/

Reply via email to