XML-RPC example current time
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 xmlrpc-common.jar.
For changing which XML RPC method to use, edit the beanshell script, supplying extra input or output ports as needed. See http://ws.apache.org/xmlrpc/client.html for documentation on the ws-xmlrpc API.
Note as Taverna's Beanshell script can only return 'simple' types like strings and integers, you might ave to use toString() metods for the beanshell output ports.
Preview
Run
Run this Workflow in the Taverna Workbench...
Option 1:
Copy and paste this link into File > 'Open workflow location...'
http://myexperiment.org/workflows/2290/download?version=1
[ More Info ]
Workflow Components
Reviews (0)
Other workflows that use similar services (0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment