XML-RPC example current time

Created: 2011-08-11 11:43:55      Last updated: 2011-08-11 11:43:56

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.

Information Preview

Information Run

Run this Workflow in the Taverna Workbench...

Option 1:

Copy and paste this link into File > 'Open workflow location...'
[ More InfoExpand ]

Information Workflow Components

Information Authors (1)
Information Titles (1)
Information Descriptions (1)
Information Dependencies (3)
Inputs (0)
Processors (1)
Beanshells (1)
Outputs (1)
Datalinks (1)
Coordinations (0)

Information Workflow Type

Taverna 2

Information License

All versions of this Workflow are licensed under:

Information Version 1 (of 1)

Information Credits (1)


Information Attributions (0)



Information Tags (2)

Log in to add Tags

Information Shared with Groups (1)

Information Featured In Packs (0)


Log in to add to one of your Packs

Information Attributed By (0)



Information Favourited By (0)

No one

Information Statistics


Citations (0)


Version History

In chronological order:

Reviews Reviews (0)

No reviews yet

Be the first to review!

Comments Comments (0)

No comments yet

Log in to make a comment

Workflow Other workflows that use similar services (0)

There are no workflows in myExperiment that use similar services to this Workflow.