On Thu, Jun 18, 2009 at 10:28, Alan Williams<[email protected]> wrote:


> (1) is fixed in 2.1 beta 2.  I agree that on the need for boring
> processors :-)  It is in the bug-tracking system at
> http://www.mygrid.org.uk/dev/issues/browse/T2-620  I've added a comment
> that this has been requested (again) by a user.

As a workaround you can make a nested workflow of each WSDL service,
it's splitters and string constants. You can then collapse that nested
workflow in the parent workflow.

> Taverna should reflect the change in the WSDL.  Stian Soiland-Reyes says
> he will look at this today.

Noted as a bug - http://www.mygrid.org.uk/dev/issues/browse/T2-656 -
and I committed the fix today, so it should go in to beta 2. The
procedure would be like you said, right click to remove, and then add
it again. (To support a right-click to 'Reload' would be slightly
trickier as different service types would have different ways to
'reload')

>> (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/

Reply via email to