views:

819

answers:

1

Can anyone recommend a lightweight JavaScript XML-RPC library?

After researching this a while ago, I couldn't find anything I was comfortable with, so I kinda ended up writing my own. However, maybe that was stupid, as there must be something suitable out there!?

My own pseudo-library is mainly missing a way to turn an XML-RPC response into JSON - or rather, converting the respective responseXML to a JavaScript object (converting the data types as needed). This isn't hard to do, but why reinvent the wheel...

Any help would be greatly appreciated!

+1  A: 

I know this two libraries, that you can basically use to convert your XML-RPC responses to JSON:

CMS
Thanks. However, I was hoping for something that understands the XML-RPC specs so the data types are converted accordingly (instead of just converting the XML hierarchy as-is).I'll update the original post accordingly.