continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Sanchez <car...@apache.org>
Subject Accessing the xml-rpc interface from ruby
Date Sun, 26 Jul 2009 01:36:31 GMT
I was trying to do some calls through the continuum xml-rpc interface
from Ruby, but I wasn't able to figure out the mapping between the
java methods and the xml-rpc methods

For instance, trying to call
client.buildProject( 1 );

with method names

buildProject
build_project
buildproject

all return a "No such handler" error

any idea what would be?

btw my ruby code is

    require 'xmlrpc/client'
    uri = "http://#{CONTINUUM_USERNAME}:#{CONTINUUM_PASSWORD}@#{CONTINUUM_HOST}:#{CONTINUUM_PORT}/continuum/xmlrpc"
    client = XMLRPC::Client.new2(uri)
    Hash result = client.call("buildproject","1")

Mime
View raw message