我们一直在为 android 使用 XMLRPC,它一直运行良好,直到我们对 byte[](图像)使用 Base64 编码——(我们使用 base64_string.replace("/","$$") 进行传输)。我们已经尝试撤消更改,它看起来像一个 XMLRPC 错误。
我们在 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)
就在此之前,我检查了正文(xml 消息——这是完美的)并收到了响应:
06-10 23:27:02.940: INFO/System.out(343): Response received: org.apache.http.message.BasicHttpResponse@437762f8
由于消息甚至没有到达我们的云端,所以问题主要在于 Android 的 XMLRPC。
任何帮助将不胜感激。谢谢
最好的沙米尔