phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[phpGroupWare-developers] how to access phpgw via xml-rpc


From: David
Subject: [phpGroupWare-developers] how to access phpgw via xml-rpc
Date: Wed, 18 Apr 2007 15:16:45 -0700 (MST)


Hi phpgw people,

I've got a Python-based web framework that I would really like to integrate 
with the phpgw database tables.

Three options:


 port my framework to php - totally not an option, sorry
 model the phpgw tables as SQLObject classes - prefer not to because they'll 
break if the phpgw schemas change
 access the tables via xml-rpc


My preferred option is xml-rpc, since it bridges the language barrier and 
abstracts the table access into an API.

However, I can't seem to get the XML-RPC connection working. There are no docs 
for pgpgw access via XML-RPC, and there seems to be a policy in pgpgw to leave 
the modules disabled by default for usage at one's own risk.

I've taken out the 'exit' statements from /xmlrpc.php and /xmlrpc/server.php, 
but when accessing either of these modules from my xml-rpc client, I get a 
'text/html' content-type header and no data.

Can someone please give me some tips for bringing phpgw xml-rpc server to life, 
and accessing it from a client?

Alternatively, can someone please suggest another/better way to bridge the 
Python->PHP barrier, so I can access phpgw's tables from python and not have my 
code break when the schema changes?

Many thanks in advance for your help

Cheers
David
.

Sent from the phpGroupWare forums @ forums.phpGroupWare.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]