Yes we want to deprecate netrpc and replace it with jsonrpc. We also want to upgrade our service api to use wsgi for http dispatching internally. Jsonrpc will be introduced at that time. Unfortunatly you cannot dispatch a wsgi request to SimpleXMLRPCServer

http://bugs.python.org/issue1745722

And webdav has also to be upgraded to wsgi. Once done openerp-server will only listen to one port 8069 and services will be maped to paths like

/openerp/jsonrpc
/openerp/xmlrpc
/webdav/

If it's not ready for 6.1 it will be shipped in 6.2.

When this will be done we can think about merging the new webclient in the server (i'm not yet sure about this). The python part of the new webclient client is very thin: session management, jsonrpc proxying and some marshmalling (like grouping calls in one request). Around 1000 lines:

http://bazaar.launchpad.net/~openerp/openerp-web/trunk/view/head:/addons/base/controllers/main.py

On 08/08/2011 10:18 PM, Leonardo Santagada wrote:
2011/8/8 Ovnicraft<[email protected]>:
i want to know if there is any plans about get an standard protocol and
fast, the NET-RPC works ok but we can't test it with some testing tools.
There is any plans to gets JSON-RPC ?

I saw http://xrg-openerp.blogspot.com/2011/06/rpc-json-ftw.html,
someone on the irc channel mentioned it, seems pretty cool but there
is no plan to merge with OpenERP. Net-rpc could be better also, last
time I looked it seemed that there was much room for improvement
(compared to ZEO Server).

_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-framework
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-expert-framework
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-framework
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-expert-framework
More help   : https://help.launchpad.net/ListHelp

Reply via email to