Im using the XMLRPCClient code from google (pskink -still here?) to access my db via Apache / PHP on a work-server. I started with some sample code ('getTime') and have worked up to making more 'serious' calls.
In all cases Im finding the performance to be extremely poor. I can see the server return the data within a few fractions of a second but once the return gets to XMLRPCClient it bogs down terribly. EG The 'getTime' function returns the time as a string ('2009-06-25 12:04:05') but when it hits this line:
Object obj = XMLRPCSerializer.deserialize(pullParser);
(line 356 in 'XMLRPCClient.java') it takes nearly 30 sec to return.
If I try to return something more complex (EG Hashmap - 8Kb ) it takes > 3 minutes to return.
Clearly Im doing something wrong. Suggestions?
Oh - I've tried this via the emulator and a device. Same results.
(EDIT) I traced into this function and it doesn't appear to be 'stuck' anywhere. The calls to KXMLParser just appear to be crazy slow.


