On Fri, Feb 4, 2011 at 00:30, Jane Ren <[email protected]> wrote:
> Hi, does Taverna have a download node that allows me to download outputs from 
> a web service?

.. assuming by 'download' you mean from a URL (as clicking a link in
the browser), then yes. If your data is in say a WSRF container or in
a more custom WSDL with something like a 'getData()' method, you would
have to use the corresponding methods of the web service to get the
data.


You can either use the 'Fetch web page from URL' (get text) or 'Fetch
image from URL' local workers. If you've installed the REST activity
you can also use this to download based on a URL or a URL template.

If you are writing your own activity you can also simply return a
java.net.URL instance - Taverna would download it if necessary when
the next service needs the input - this would allow you to pass URLs
between 'compatible' activities, while normal built-in activities
would get the content downloaded from the URL. Note that as this is by
demand, if you want to ensure download as soon as possible, instead
use one of the fetch shims.


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

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to