sajinm4u / android-xmlrpc

Automatically exported from code.google.com/p/android-xmlrpc
0 stars 0 forks source link

XMLRPCServer doesn't handle requests with empty params #39

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The readMethodCall() of the current SVN version of the XMLRPCServer class can't 
handle methods, that have no parameters attached. Either the XMLPullParser's 
require for Tag.PARAMS or Tag.PARAM will fail, depending on the client 
implementation. I tested it with Python's xmlrpclib which then causes the 
server to fail at the PARAM tag.

I attached a patch, that works for my case, but only covers the empty but still 
present PARAMS tag.

Original issue reported on code.google.com by f.metz...@gmail.com on 14 Aug 2012 at 1:14

Attachments:

GoogleCodeExporter commented 8 years ago
fixed in rev r29

Original comment by psk...@gmail.com on 22 Aug 2012 at 8:16