views:

150

answers:

1

hello, I am building a mozilla extension that contacts a python application on a remote server to send and receive data. The python application can be used using xml-rpc from a python console.I am given the task to design a json-rpc that would contact the same application.Making the python server side has been easy which can be accesed using python console but making the mozilla extension to connect to the python serverside is what i am not understanding howto ??? how do i make cross site json rpc calls i have gone through a lot of libraries that i can find on googling but none of them seem to work i am not sure if it is because of same origin policy or my server side not able to process the data ??? ANY HELP

A: 

Hello,

You can use http://mimic-xmlrpc.sourceforge.net/ js library, or just XMLHttpRequest. I'm just with the same problem, and i'm an absolute newby with js :(

mimic seems grat, even if i'm having problems parsing the data returned..

Any help would be appreciated .

Alks