Return-Path: Delivered-To: apmail-continuum-users-archive@www.apache.org Received: (qmail 7677 invoked from network); 23 Jul 2008 19:34:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2008 19:34:05 -0000 Received: (qmail 47723 invoked by uid 500); 23 Jul 2008 19:34:01 -0000 Delivered-To: apmail-continuum-users-archive@continuum.apache.org Received: (qmail 47698 invoked by uid 500); 23 Jul 2008 19:34:01 -0000 Mailing-List: contact users-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@continuum.apache.org Delivered-To: mailing list users@continuum.apache.org Received: (qmail 47677 invoked by uid 99); 23 Jul 2008 19:34:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 12:34:01 -0700 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alegomes@gmail.com designates 209.85.198.249 as permitted sender) Received: from [209.85.198.249] (HELO rv-out-0708.google.com) (209.85.198.249) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2008 19:33:04 +0000 Received: by rv-out-0708.google.com with SMTP id f25so2238115rvb.50 for ; Wed, 23 Jul 2008 12:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=i3R2hYcN/Qoxl/6k5B2OMuwpjEzrx6yB1oeY1h5XrkY=; b=mcis0SJx0EfrzoLHNsUys/U8jKva3dT6oKfJagiX8nuiR522N/RebelSEatKIHEsqY izzw9H2xeB6jY1JabNVAl0bb3Nn6IX1w2r/35RRYbxBh2yJj9Lsu8xXd8CJOPNU4PMjv QVhpzBOSaP6fwM+FLonmv1RJPLWL83la9fYQQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=R0gjdYMno0UCN8yw6ErgC6J+ZNoqumkVElpHUsf9FMscXw+K7Eaoqz6DlStj/T8N3z zIXLiVKR+xM3eY82vOcSdVIygbd4P0qBOhhV6y/0kk0ImHRdc3XE9gEaezab9crmidcY avjuGwx/QeRhvW//6MxkMlY0El3QdTHAxrr30= Received: by 10.141.84.17 with SMTP id m17mr77662rvl.48.1216841609812; Wed, 23 Jul 2008 12:33:29 -0700 (PDT) Received: by 10.141.62.21 with HTTP; Wed, 23 Jul 2008 12:33:29 -0700 (PDT) Message-ID: Date: Wed, 23 Jul 2008 16:33:29 -0300 From: "Alexandre Gomes" To: users@continuum.apache.org Subject: XMLRPC API for Continuum 1.0.3? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_108378_31332395.1216841609809" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_108378_31332395.1216841609809 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, is there an API to programatically access Continuum 1.0.3? I've seem XMLRPC [1], but it seems to work only with 1.1 version. I tried to run a simple example [2] against a 1.0.3 installation, but an error pops up [3]. I've seen another reference to this error at Google [4], but it didn't have any conclusion. Any help is appreciated. thanks a lot. -- Ale! [1] http://continuum.apache.org/docs/1.1/developer_guides/xmlrpc.html [2] String username =3D "admin"; String password =3D "admin"; URL url =3D new URL("http://localhost:8000"); ContinuumXmlRpcClient client =3D new ContinuumXmlRpcClient(url, username, password); // List pgs =3D client.getAllProjectGroups(); List pgs =3D client.getAllProjectGroupsWithProjects()= ; [3] Exception in thread "main" org.apache.xmlrpc.XmlRpcException: java.lang.Exception: RPC handler object "org.apache.maven.continuum.xmlrpc.ContinuumService" not found and no default handler registered at org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse(XmlRpcStreamTra= nsport.java:184) at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTran= sport.java:145) at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTranspor= t.java:94) at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTr= ansport.java:39) at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java= :53) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:166) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:136) at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:125) at org.apache.xmlrpc.client.util.ClientFactory$1.invoke(ClientFactory.java:104= ) at $Proxy0.getAllProjectGroupsWithAllDetails(Unknown Source) at org.apache.maven.continuum.xmlrpc.client.ContinuumXmlRpcClient.getAllProjec= tGroupsWithAllDetails(ContinuumXmlRpcClient.java:172) at org.apache.maven.continuum.xmlrpc.client.ContinuumXmlRpcClient.getAllProjec= tGroupsWithProjects(ContinuumXmlRpcClient.java:181) at org.rhq.plugins.continuum.TestContinnumAPI.main(TestContinnumAPI.java:24) [4] http://osdir.com/ml/java.continuum.user/2006-09/msg00014.html --=20 Al=EA! ------=_Part_108378_31332395.1216841609809--