We've got an XML-RPC server (implemented in python), and I'm trying to write a simple javascript app to send calls to it. Whatever library I make I seem to always get the error:
Unsupported method ('OPTIONS')
It's fair to say I don't understand the underlying protocols for XML-RPC and HTTP as well as I should. But what I do know is that this works in python:
client = xmlrpclib.ServerProxy('http://localhost:2002')
client.T.run_process()
But the following javascript doesn't:
var client = new xmlrpc_client("", "localhost", 2002, "http")
var msg = new xmlrpcmsg("T.run_process()", {})
lert(client.send(msg));
I'm using this javascript library. But it seems I get the same error no matter what library I use, so I guess our server isn't conforming to some protocol that python doesn't mind about, is this right?