Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'skip:[ 20': 0.04; "'no": 0.09; 'extends': 0.09; 'arguments:': 0.16; 'received:159': 0.16; 'subject:Java': 0.16; 'user-defined': 0.16; 'subject:python': 0.16; 'java,': 0.16; 'written': 0.21; 'error': 0.23; 'skip:{ 20': 0.24; 'array': 0.29; 'matching': 0.30; 'lot.': 0.31; 'anyone': 0.31; 'class': 0.32; 'object,': 0.36; 'method': 0.36; 'charset:us- ascii': 0.36; 'thanks': 0.36; 'server': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'from:no real name:2**0': 0.61; 'diana': 0.91; 'before?': 0.93 X-Disclaimed: 27590 To: python-list@python.org MIME-Version: 1.0 Subject: python client call Java server by xmlrpc X-KeepSent: 59D4DFCB:6AA85FAB-48257DD5:002C7812; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5 SHF183 May 27, 2009 From: fan.ding1@kodak.com Date: Thu, 22 Jan 2015 16:15:59 +0800 X-MIMETrack: Serialize by Router on KNOTES2/ISBP/EKC(Release 8.5.1FP4 HF14|August 13, 2010) at 01/22/2015 03:16:01 AM, Serialize complete at 01/22/2015 03:16:01 AM Content-Type: multipart/alternative; boundary="=_alternative 002D68BB48257DD5_=" X-Mailman-Approved-At: Thu, 22 Jan 2015 09:37:35 +0100 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 61 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1421915856 news.xs4all.nl 2860 [2001:888:2000:d::a6]:40730 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:84210 This is a multipart message in MIME format. --=_alternative 002D68BB48257DD5_= Content-Type: text/plain; charset="US-ASCII" 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 --=_alternative 002D68BB48257DD5_= Content-Type: text/html; charset="US-ASCII" 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
--=_alternative 002D68BB48257DD5_=--