[imp] Calling IMP thru XML-RPC

MIlos Prudek prudek at bvx.cz
Fri Jun 9 02:30:42 PDT 2006


On Friday 09 of June 2006 11:41, Jan Schneider wrote:
> These errors come from Python, no idea what they mean.

I am trying to find out if this is a Python issue.

Is method introspection supported in Horde's RPC? 

For betty.userland.com,  Python's server.system.listMethods() gives an empty 
string correctly packed in XML and correctly parsed out, 

For Horde, listMethods() gives the following:


POST /horde/rpc.php HTTP/1.0 
Host: www.orl.cz 
User-Agent: xmlrpclib.py/1.0.1 (by www.pythonware.com) 
Content-Type: text/xml 
Content-Length: 112 
 
<?xml version='1.0'?>
<methodCall>
<methodName>system.listMethods</methodName>
<params>
</params>
</methodCall>


HTTP/1.1 200 OK 
Date: Fri, 09 Jun 2006 09:24:46 GMT 
Server: Apache/2.0.48 (Linux/SuSE) 
X-Powered-By: PHP/4.3.3 
Set-Cookie: Horde=e9ed11176d5e4f0f4b8bf6b2a7b61f79; path=/horde; 
domain=www.orl.cz 
Expires: Thu, 19 Nov 1981 08:52:00 GMT 
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 
Pragma: no-cache 
Vary: Accept-Encoding,User-Agent 
Connection: close 
Content-Type: text/html; charset=ISO-8859-1 
 
<br />
<b>Fatal error</b>:  Call to undefined function:  xmlrpc_server_create() in 
<b>/home/orl/public_html/horde/lib/Horde/RPC/xmlrpc.php</b> on line 
<b>35</b><br />
<br />
<b>Fatal error</b>:  Call to undefined function:  xmlrpc_server_destroy() in 
<b>/home/orl/public_html/horde/lib/Horde/RPC/xmlrpc.php</b> on line 
<b>47</b><br />

-- 
Milos Prudek


More information about the imp mailing list