Workflows
Search filter terms
Filter by type
Filter by tag
Filter by user
Filter by licence
Filter by group
Results per page:
Sort by:
Showing 2 results.
Use the filters on the left and the
search box below to refine the results.
Example of looping over asynchronous services. The dummy beanshell scripts represents the operations of an asynchronous submit-status-results style service, such as EBI's InterProScan and NCBI Blast.
createJob creates a temporary file with the content "0". Filename retuirned as a "job ID".
checkStatus reads the job, and return state "RUNNING" as long as the content is less than 10, increasing the number for each call. (As no actual job is being run)
getResults reads the file content, with...
Created: 2010-01-27 | Last updated: 2013-10-08
Credits:
Stian Soiland-Reyes
XML-RPC example current time
(1)
Using Apache ws-xmlrpc from Beanshell scripts to call time.xmlrpc.com - see http://www.xmlrpc.com/currentTime
To use, download the JARs from http://ws.apache.org/xmlrpc/download.html (ie. http://apache.mirror.anlx.net//ws/xmlrpc/apache-xmlrpc-current-bin.zip ) - unzip and put into Taverna's home directory lib/ folder. Right-click on the Beanshell script and check the "Dependencies" tab to check that all JARs have been ticked off (minimum required: ws-common-util.jar, xmlrpc-client.jar and x...
Created: 2011-08-11 | Last updated: 2011-08-11
Credits:
Stian Soiland-Reyes
Results per page:
Sort by: