On Mon, Oct 19, 2009 at 23:59, Michael Heuer <[email protected]> wrote:
> I'm looking for suggestions on the best way to integrate a suite of Java
> commands into Taverna as local services.
>
> The commands are implemented as typed instances of Callable<T>

You should be able to call those commands from a beanshell script, as
long as your library is on the classloader, see "Dependencies" tab in
Beanshell configuration. (You would only need to tick the JAR file in
the 'first' such beanshell script in the workflow, although there is
no harm done if several do)

Taverna can provide input streams directly, but unfortunately
beanshell scripts currently has no way to specify that you require an
input stream. This should work with the API Consumer though - what
happens with the API consumer that makes it not work?


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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information

Reply via email to