continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Meyer <michael.me...@netcetera.ch>
Subject Re: [1.1-beta-1] How does the XML-RPC API work?
Date Fri, 10 Aug 2007 13:42:37 GMT
Hi Emmanuel,
works great. Thanks!

Emmanuel Venisse wrote:
> 1) the url is http://server:8080/continuum/xmlrpc
> 2) you use an old version of the client, the one to use is:
> 
> <dependency>
>   <groupId>org.apache.maven.continuum</groupId>
>   <artifactId>continuum-xmlrpc-client</artifactId>
>   <version>1.1-beta-1</version>
> </dependency>
> 
> and a sample client is available there: 
> http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-xmlrpc/continuum-xmlrpc-client/src/main/java/org/apache/maven/continuum/xmlrpc/client/SampleClient.java

> 
> 
> Emmanuel
> 
> 
> Michael Meyer a écrit :
>> Hi
>> I'm using continuum-1.1-beta-1. And I would like to use the XML-RPC 
>> API to check the build state.
>>
>> When I run the following code I a get an exception stating that there 
>> were parsing errors:
>>
>> ProjectsReader pr = new ProjectsReader( new 
>> URL(http://server:8080/continuum) );
>> projects = pr.readProjects();
>>
>> Am I doing something wrong or doesn't the XML-RPC api work for 
>> 1.1-beta-1 yet?
>>
>> In my pom.xml file I've added the following dependency:
>>
>> <dependency>
>>   <groupId>org.apache.maven.continuum</groupId>
>>   <artifactId>continuum-rpc-client</artifactId>
>>   <version>1.0.3</version>
>> </dependency>
>>
>> Cheers, michael
>>
>>
>>
>>
> 

-- 
Michael Meyer | michael.meyer@netcetera.ch
phone +41-44-247 79 12 | fax +41-44-247 70 75
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch


Mime
View raw message