Android XMLRPC Fault Code

Posted by sameersegal on Stack Overflow See other posts from Stack Overflow or by sameersegal
Published on 2010-06-10T18:11:04Z Indexed on 2010/06/10 18:12 UTC
Read the original article Hit count: 646

Filed under:
|
|
|
|

Hey,

We have been using XMLRPC for android and it was working well until we got our hands dirty with Base64 encoding for byte[] (images) -- (we did base64_string.replace("/","$$") for transmission). We have tried undoing the changes and its looking an XMLRPC error.

We are getting the following error in the DDMS:

06-10 23:27:02.970: DEBUG/Test(343): org.xmlrpc.android.XMLRPCFault: XMLRPC Fault:  [code 0]
06-10 23:27:02.970: DEBUG/Test(343):     at org.xmlrpc.android.XMLRPCClient.callEx(XMLRPCClient.java:308)
06-10 23:27:02.970: DEBUG/Test(343):     at org.xmlrpc.android.XMLRPCMethod.run(XMLRPCMethod.java:33)

Just before this I checked the body (xml message -- which is perfect) and the response received:

06-10 23:27:02.940: INFO/System.out(343): Response received: org.apache.http.message.BasicHttpResponse@437762f8

Since it the message is not even reaching our cloud, the issue is with XMLRPC for android.

Any help will be most appreciated. Thanks

Best Sameer

© Stack Overflow or respective owner

Related posts about android

Related posts about rpc