Bad Request from a XML RPC service
Iīm trying to get in XMLRPC.
Iīve build a little XMLRPC server with Python, and it works fine.
From bash, I call:
class Test ( xmlrpc.XMLRPC ):
def xmlrpy_echo ( self ):
>>> import xmlrpclib
>>> s = xmlrpclib.Server('http://localhost:7080/')
Now I try to access this Server from PHP.
I found kd_xmlrpc class ( http://www.keithdevens.com/software/xmlrpc/ ).
But now, I donīt know what I have to call :(.
With this and XMLRPC_debug_print ( ); I get:
$result = XMLRPC_request ( 'localhost:7080', '', Example.echo', array ( XMLRPC_prepare('') ) );
Where did I make a mistake?
Sent the following request:
<?xml version="1.0" ?>
Received the following response:
HTTP/1.1 400 Bad Request
Which was serialized into the following data:
Iīm new to XMLRPC, but I couldnīt found a solution :(