XML-RPC Daemon
Some infos regarding the XML-RPC daemon ...
Also visit the XML-RPC resources page on the main OGo site:
OpenGroupware.org XML-RPC Server
Starting the XML-RPC daemon
a) start the xmlrpcd on a port different from the WebUI one, eg 22022,
otherwise you will receive HTML instead of XML responses ;-) Also note
that ZideStore and xmlrpcd are different daemons!
Defaults write xmlrpcd WOPort '"*:22022"'
xmlrpcd
b) configure your Apache/mod_ngobjweb to forward requests going to /RPC2 to the port the xmlrpcd is running on
Try out the XML-RPC daemon
The xmlrpc_call tool is excellent for playing with the xmlrpcd. By not specifying a method, it will list you all the available ones:
xmlrpc_call http://[yourhost]/RPC2
login: [login]
password: [pwd]
access.operationAllowedOnObjectsForAccess
access.setOperationOnObjectForAccess
account.changePassword
account.delete
account.deleteByLogin
account.deleteByNumber
account.fetch
...
You can also use that to call a method:
xmlrpc_call http://[yourhost]/RPC2 jobs.getToDoList
login: [login]
password: [pwd]
executor=id=skyrix://[yourhost]/move42dev/10140
login=helge
id=skyrix://[yourhost]/move42dev/19640
priority=4
category=hier
objectVersion=1
startDate=2003-02-18 22:00:00 +0000
creator=id=skyrix://[yourhost]/move42dev/10140
login=helge
name=test
endDate=2003-02-25 22:00:00 +0000
isTeamJob=0
status=20_processing