Make sure that the jars are added to your Matlab java path. Use 'edit classpath.txt' and add the jars to this file. Don't forget to include the ws-commons jar.
Calling a web-service
Java objects are created with the javaObject command. We'll use that to setup a connection to CytoscapeRPC.
% Setting up the client
client = javaObject('org.apache.xmlrpc.client.XmlRpcClient')
config = javaObject('org.apache.xmlrpc.client.XmlRpcClientConfigImpl')
url = javaObject('java.net.URL', 'http://localhost:9000/Cytoscape')
% We now have a working client and we can execute remote functions.
% This command returns 'It works!', which shows that the connection works correctly.