Skip to main content

What is the best Javascript XML-RPC client library?



What is the best Javascript XML-RPC client library in your opinion and why?





I'am making a JQuery app and I need to communicate with my xmlrpc server with it.





Found following libraries, but I have no idea what are their pros and cons:





http://www.zentus.com/js/xmlrpc.js.html





http://www.scottandrew.com/xml-rpc/





http://phpxmlrpc.sourceforge.net/jsxmlrpc/





http://www.vcdn.org/Public/XMLRPC/





http://mimic-xmlrpc.sourceforge.net/



Source: Tips4all

Comments

  1. There is a Google-hosted library here: http://code.google.com/p/json-xml-rpc/.
    It supports both XML-RPC and JSON-RPC for JavaScript, and asynchronous as well as synchronous requests. I'm about to try out the XML-RPC for JavaScript myself with a JQuery UI and will update this based on my findings.

    ReplyDelete
  2. I have tried http://www.zentus.com/js/xmlrpc.js.html myself. It has problems parsing the result in FireFox and Chrome, parsing the result in IE worked fine.

    I have not tried the others, but 'mimic' looks great (if it works).

    For my own problem, I've switched to JSON instead of XMLRPC.

    ReplyDelete
  3. The protocol is rather easy, are you sure you need a library at all? Maybe just send the XML the protocol requires?

    ReplyDelete
  4. Adding a library to the list. I found this one quite easy to use, although I haven't tried all of the others that are mentioned.


    http://kuriositaet.de/javascript/jsxmlrpc.html
    http://kuriositaet.de/javascript/xmlrpc.html
    http://sourceforge.net/projects/jsxmlrpc/

    ReplyDelete

Post a Comment

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?

Java Urban Myths

Along the line of C++ Urban Myths and Perl Myths : What are the Java Urban Myths? That is, the ideas and conceptions about Java that are common but have no actual roots in reality . As a Java programmer, what ideas held by your fellow Java programmers have you had to disprove so often that you've come to believe they all learned at the feet of the same drunk old story-teller? Ideally, you would express these myths in a single sentence, and include an explanation of why they are false.