Results 1 to 1 of 1
Nov 23, 2004, 13:41 #1
- Join Date
- Oct 2003
- 0 Post(s)
- 0 Thread(s)
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.
class Test ( xmlrpc.XMLRPC ): def xmlrpy_echo ( self ): return "test"
>>> 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 .
$result = XMLRPC_request ( 'localhost:7080', '', Example.echo', array ( XMLRPC_prepare('') ) );
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