xml-rpc-api2cpp and ogo
Gerhard Pfeiffer <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
After creating C++-Classes using xml-rpc-api2cpp I have a class
jobsProxy with method 'string jobsProxy::getToDoList (string string1,
string string2)'.
Calling this with ("", "") will tell me "1: Only 'root' can fetch jobs
of other users".
Did xml-rpc-api2cpp create a wrong method?
The method looks like this:
string jobsProxy::getToDoList (string string1, string string2) {
XmlRpcValue params = XmlRpcValue::makeArray();
params.arrayAppendItem(XmlRpcValue::makeString(string1));
params.arrayAppendItem(XmlRpcValue::makeString(string2));
XmlRpcValue result = this->mClient.call("jobs.getToDoList", params);
return result.getString();
}
How would the method have to be implemented to return the ToDoList?
Ciao,
Gerhard
--
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc