takeValuesFromObject ?
Andreas Rath <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
hello,
we have a little problem with some XML-RPC client
code that we want to write;
To get familiar with the XMLRPC interface, we would
like to insert an appointment into OGo;
We do this with this Java code using the
Apache XMLRPC client;
Here is a snippet:
//...
Hashtable hash = new Hashtable();
hash.put("startDate", "2003-03-20");
hash.put("endDate", "2003-03-21");
hash.put("title", "Flfufys appointment TITLE");
hash.put("comment", "comment by fluffy");
hash.put("name", "name fluffy");
// params is an instance of Vector
params.addElement(hash);
client.execute("appointment.insert", params);
// ...
This returns an XML-RPC fault with the message:
"ObjcRuntimeException: SkyAppointmentDocument (instance) does not
recognize takeValuesFromObject:keys:"
The serverside code seems to work, as it complains, eg. if we
leave out the startDate etc.
What could be the cause of this problem? Is there some missing
configuration of the OGo server (some default appointment object,...)
or what could be the problem?
(As some code tries to send an "takeValuesFromObject" message
to an object that doesn't know that method, could this be some
bug?);
Thanks in advance,
JOGI Team
JOGI - Java OGo Interface
--
Rath Andreas StrV Mathematik
Student Of Tech. Mathematics And Telematics
@ Graz University Of Technology, Austria
Email: [email protected] http://rath.netstruct.at
--
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc