Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #84210
| Subject | python client call Java server by xmlrpc |
|---|---|
| From | fan.ding1@kodak.com |
| Date | 2015-01-22 16:15 +0800 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.17960.1421915856.18130.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
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 with error
'No method matching arguments: , [Ljava.lang.Object;, [Ljava.lang.Object;
'
Does anyone use this before? It troubles me some days.
Thanks a lot.
Diana
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
python client call Java server by xmlrpc fan.ding1@kodak.com - 2015-01-22 16:15 +0800
csiph-web