Hi, Apologies for not picking this up sooner.
>> My goal is to use a workflow as a web-service. My workflow takes >> several inputs (file and/or value), and contains REST service that >> need authentication. >> I just try the command-line tool of the 2.4 locally installed using >> the cmdir parameter and it work well. But how external user can >> specify their login and password to authenticate to the REST service ? > > That will be part of the Taverna 2.3 server API. Donal Fellows is > writing up the documentation of that. Meanwhile, Robert Haines should be > able to give you details. If you're not averse to using Ruby then you can use the Server client library to do this. You can download it from here: https://rubygems.org/gems/t2-server and it is documented here: http://rubydoc.info/gems/t2-server/0.9.0/frames You will be interested in the "Interacting with secure Web Services" section. If Ruby is not an option then you can use the Server REST interface directly. It is documented here: http://www.mygrid.org.uk/dev/wiki/display/taverna/REST+API Please note that both of these methods rely on the latest version of Taverna Server - version 2.3 which has just been released here: http://www.taverna.org.uk/download/server/2-3/ Please let us know on this list if you have any more questions. Best wishes, Rob -- Robert Haines myGrid Team School of Computer Science University of Manchester ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ 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/
