Re: xml-rpc-api2cpp und ogo
Helge Hess <[email protected]>
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mar 31, 2005, at 15:30, Gerhard Pfeiffer wrote:
> I'm trying to access the ogo-xmlrpc-interface via the xmlrpc-c-library
> from c++. Thus I used xml-rpc-api2cpp to generate a Proxy class for
> jobs,
I don't think that works very well, the generator probably bases its
assumptions on the output of system.methodSignature which is often
wrong due to the 'automagic' mapping in ogo-xmlrpcd.
> string jobsProxy::getToDoList (string string1, string string2) {
The signature is:
array getToDoList(bool onlyIds, string login)
thus:
> 1: Only 'root' can fetch jobs of other users
You need to call it like:
getToDoList(false, "gerhard");
the login must be the same like the basic-auth login (except you are
root).
Calling without any parameters might work as well, like:
getToDoList();
> Did this xml-rpc-api2cpp generate a proxy-api not suitable for use with
> ogo?
Yes, I think you can't use the proxy generator.
Greets,
Helge
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org
--
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc