Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 39 by
f.metz...@gmail.com: XMLRPCServer doesn't handle requests
with empty params
http://code.google.com/p/android-xmlrpc/issues/detail?id=39
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.
Attachments:
xmlrpcserver.patch 1.8 KB