And now I understand better how we must use XML-RPC in a better standard
way.
So I propose to change again the current protocol to put only the
database name in the url. The code will look like this:
s = xmlrpclib.ServerProxy('http://localhost:8069/test')
session = s.common.login(user, password)
s.object.party.party.read(user, session, ids)
s.report.party.label.execute(user, session, ids, datas)
and for introspection:
s.system.listMethods()
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email: cedric...@b2ck.com
Jabber: cedric...@b2ck.com
Website: http://www.b2ck.com/
On Wed, 25 Feb 2009 00:24:14 +0100
Cédric Krier <cedric...@b2ck.com> wrote:
> I just finish to read:
> http://xmlrpc-c.sourceforge.net/introspection.html
>
> And now I understand better how we must use XML-RPC in a better
> standard way.
>
> So I propose to change again the current protocol to put only the
> database name in the url. The code will look like this:
>
> s = xmlrpclib.ServerProxy('http://localhost:8069/test')
> session = s.common.login(user, password)
> s.object.party.party.read(user, session, ids)
>
> s.report.party.label.execute(user, session, ids, datas)
>
> and for introspection:
>
> s.system.listMethods()
>
>
--
Josh Dukes
MicroVu IT Department