Hi Alan
Den 24/08/12 14.59 skrev "Alan R Williams" <[email protected]>:
>On 24/08/2012 08:33, Allan Lind-Thomsen wrote:
>> Hi
>
>Hello
>
>> I'm trying to use the API-Consumer tool to create some small script that
>> I use in multiple workflows.
>
>If you are creating a script then it may be easier to use the beanshell
>service or the more general tool service.
I tried to use API-consumer as an alternative to beanshell to avoid
rewrite(copy/paste) the code each time I should use it in a new workflow.
>
>> Is it possible to return some java-type which will end up as a taverna
>>list?
>>
>> I have tried to return: List, ArrayList, Vector and string[], but they
>> are returned as a single string with comma separated values, except the
>> String[] that return the object reference.
>
>That is probably the representation of them. What happens if you feed
>them into something that takes a list, for example the local service
>"Echo list"?
It comes out as a single string.
Best wishes
Allan
>
>> Best wishes
>>
>> Allan Lind-Thomsen
>> PhD. Student,
>> Phone: +045 353 27819
>> Wilhelm Johanssen Centre For Functional Genome Research
>> ICMM, University of Copenhagen
>
>Alan
>
>
>
>--------------------------------------------------------------------------
>----
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and
>threat landscape has changed and how IT managers can respond. Discussions
>will include endpoint security, mobile security and the latest in malware
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>taverna-users mailing list
>[email protected]
>[email protected]
>Web site: http://www.taverna.org.uk
>Mailing lists: http://www.taverna.org.uk/about/contact-us/
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/