finally found out that it just required the fully qualified method name, doh!

result = 
client.call("org.apache.maven.continuum.xmlrpc.ContinuumService.buildProject","1")


2009/7/25 Carlos Sanchez <car...@apache.org>:
> 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_passwo...@#{continuum_host}:#{CONTINUUM_PORT}/continuum/xmlrpc";
>    client = XMLRPC::Client.new2(uri)
>    Hash result = client.call("buildproject","1")
>

Reply via email to