Adding json rpc to Zope2.10.7

13 views
Skip to first unread message

jknair

unread,
Nov 13, 2009, 2:41:01 AM11/13/09
to JSON-RPC
Currently working on a project dealing with making a mozilla extension
to gather data from a zope application
the query library works fine with python xmlrpclib and other modules
from teh client side but due to the cross site request error for suck
Xmlhttp request in the browser was looking to make the zope "query
library object" be json enabled

in other words the xml rpc cant be initiated from javscript and hence
trying to integrate json rpc to to zope
http://www.zope.org/Members/ree/jsonserver2 i dthe avalable solution
but have no clue how to make the query library compatible with this
if anybody can help me out with this !!!????

jknair

unread,
Nov 15, 2009, 2:08:31 PM11/15/09
to JSON-RPC

More elaborate explanation
i am working on a project enabling json rpc on an exisiting zope
product

the link http://lab.gnowledge.org/Software/gnowsys_rc1/documentation-of-new-gnowql
is for the query library that works currently on xml-rpc

my project involves in making a mozilla extension to this query
library
As xml-rpc cannot be used to cross site requests from the browser on a
client side due to security issues
( https://developer.mozilla.org/en/HTTP_access_control)

to resolve the above issue : json-rpc would be the solution ( even
the developers at gnowledge.org wanted an added form of rpc)

so googled up a few links that will help to do the same
http://www.zope.org/Members/ree/jsonserver2 is a backport of a working
json rpc server for Zope3

as the system uses zope 2.10.7

after adding the above mentioned zope product for enabling jsonserver
on zope how do i enable the existing query library to be able
communicate using json
Reply all
Reply to author
Forward
0 new messages