Best way to connect python to DataAbstract?

I’m having problem using json-rpc.

I use this lib (I can’t get the original source):https://gist.github.com/1886919

However, the encoding of the params are wrong like I report on http://connect.remobjects.com/discussion/1232/how-sendformat-tablerequestinfo-with-json-from-python

I wonder if somebody know a better lib/way to connect DA from python.

I need to call my custom methods, call dataset with parameters, send updates (ie, like with a native lib).

I could build a client library for myself (that Is what I have done by now with python) but like to know a succes history with a specific combo of lib/decoding framework.

At the moment RO SDK supports three common ‘text’ transports - JSON-RPC, XML-RPC and SOAP

XML-RPC is suggested to use with PHP (third party xmlrpc lib). It is seldom used and we get very few support requests related to it.

SOAP is widespread, quite complex and mostly used to connect RO client to non-RO server.

And JSON. It is used in in RO/JS. There is a problem with its simplicity, it doesn’t pass data type information. For DA it means for example, that only TableRequestInfo can be passed to DataAbstractService.GetData, not TableRequestInfoV5 of V6

AFAIK, SOAP doesn’t have this problem.

Valeriey: didnt we fix JSON’s support for descendant types for the Feb12 release?

We didn’t, AFAIK

k, then we should put some prio on that for the next release.

Good to hear.

I workaround building everything I can in the server (duplicating what GetData do). So far, look like the only problem is passing TableRequestInfo data.

P.D. If wanna tester, let me know

btw, did you try constructing it that way I’ve posted in another thread?
here’s the link - http://ideone.com/ogMjt