Re: Java OpenGroupware API - annotations

"Andreas Rath" <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <000501c370cf$3e0ff440$0a00a8c0@teddyplace>
>>>>if you need/want help for your project...ask me for!
>> ... bad move; we will surely take this offer seriously ;-)
>no problem...do so ;)

So, I will do so:

I have problems with deleting jobs.

Try 1:

Map map1 = new Hashtable();
map1.put("id", "17780");  //Person Id
Map map2 = new Hashtable();
map2.put("id", "98100"); // Job Id
map2.put("name","testJobName"); Job Name
List list = new Vector();
list.add(map1);
list.add(map2);
xmlcaller_.invoke("person.deleteJob", list);


-> fails


Try 2:

List list = new Vector();
list.add("17780");  //Person Id
list.add("98100");   // Job Id
xmlcaller_.invoke("person.deleteJob", list);


-> fails


Try 3:
 List list = new Vector();
 list.add("skyrix://Knoppix/premium2.in.skyrix.com/17780");  //Person Id
 list.add("skyrix://Knoppix/premium2.in.skyrix.com/98100");   // Job Id
 xmlcaller_.invoke("person.deleteJob", list);


-> fails


No error message and no return value.

Does someone know what's wrong???


Ps.: Is there a possibility to delete a list of jobs? 
     ...something like "person.delete([23233],[32323],[23145],....,])


Regards,
        teddius
       (JOGI Team)


-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.