Index: topia2/src/java/org/codelutin/topia/service/servers/XMLRPCServer.java diff -u topia2/src/java/org/codelutin/topia/service/servers/XMLRPCServer.java:1.2 topia2/src/java/org/codelutin/topia/service/servers/XMLRPCServer.java:1.3 --- topia2/src/java/org/codelutin/topia/service/servers/XMLRPCServer.java:1.2 Fri Jun 8 14:03:29 2007 +++ topia2/src/java/org/codelutin/topia/service/servers/XMLRPCServer.java Tue Jul 17 16:19:52 2007 @@ -45,9 +45,9 @@ * XMLRPCServer.java * * @author chatellier - * @version $Revision: 1.2 $ + * @version $Revision: 1.3 $ * - * Last update : $Date: 2007/06/08 14:03:29 $ By : $Author: ndupont $ + * Last update : $Date: 2007/07/17 16:19:52 $ By : $Author: ndupont $ */ public class XMLRPCServer extends TopiaServiceServerAbstract implements XmlRpcHandler, XmlRpcHandlerMapping { @@ -152,7 +152,10 @@ result = listToMap((List) result); } else if (result instanceof TopiaEntity) { result = entityToMap((TopiaEntity) result); + } else if (result instanceof Long) { + result = Long.toString((Long)result); } + return result; }