Re: python client call Java server by xmlrpc

2015-01-30 Thread fan . ding1
parameter, then the server return correct reply. para = MyData(0.5,0.01) server.Fun([para ], [ ] ) From: dieter To: python-list@python.org Date: 01/23/2015 03:26 PM Subject: Re: python client call Java server by xmlrpc Sent by: "Python-list" fan.di...@kodak.com writes: >

Re: python client call Java server by xmlrpc

2015-01-22 Thread dieter
fan.di...@kodak.com writes: > I have xmlrpc server written in Java, and it has a method like > > Fun( vector, vector), the vector is array of user-defined object, which is > a class extends HashMap. > > And I call it like: > > server = xmlrpclib.ServerProxy("http://myserver";) > > server.Fun( [

python client call Java server by xmlrpc

2015-01-22 Thread fan . ding1
Hi all I have xmlrpc server written in Java, and it has a method like Fun( vector, vector), the vector is array of user-defined object, which is a class extends HashMap. And I call it like: server = xmlrpclib.ServerProxy("http://myserver";) server.Fun( [ {"0.5":0.1}], [ ] ) It always fails