Introduction
Welcome to the "JS-XMLRPC (XML-RPC for Javascript)" Homepage. It is a library implementing the XML-RPC and JSON-RPC protocols, written in Javascript.
It is designed for ease of use, flexibility and completeness.
Above all, it mimics as closely as possible the API of the PHPXMLRPC library.
Please note that there is another, older javascript library named JSXMLRPC available on sf.net: http://sourceforge.net/projects/jsxmlrpc. Both libraries share the same intents, but the code is completely unrelated (at least for now).
Download
Release 0.4 of php-xmlrpc sister-library is available here.Please consider it is still marked as beta code when downloading and using it - even though all known reproducible bugs have been fixed.
News
-
15th of December, 2013
The project moved to GitHub
-
5th of September, 2009.
Version 0.4 of the library has been released. It is a bugfix release that solves many errors in all areas of encoding and decoding values. All users are encouraged to upgrade.
-
26th of June, 2007.
Version 0.3 of the library has been released. It is a bugfix release that solves many errors in all areas of encoding and decoding values. All users are encouraged to upgrade.
-
25th of April, 2007.
Version 0.2 of the library has been released. It sports async method calls and auto-generation of javascript code, plus many small bugfixes.
The online API documentation has been updated, and a real manual has been added. The online debugger has been updated to the latest release.
-
8th of April, 2007.
The online debugger can now auto-generate the js code that wraps the call to a remote method into a javascript function
-
3rd of March, 2007.
Initial release of the online API documentation, in HTML format.
-
25th of Februray, 2007.
Initial release of the library.
Many features are still missing, but the overall code is in good shape, and the debugger is included.
Release notes are available here.
-
26th of January, 2007.
The homepage for the library has been uploaded on SourceForge, as well as a demo (beta) version of the debugger and visual editor.
Documentation
- API documentation for version 0.3, in HTML format, generated from comments in the code (ie. missing examples, release notes and lots of extra details, such as global variables...)
- A manual with more deatils is also available
Online xmlrpc debugger
A demo debugger application, built on top of this library, is active at the address http://gggeek.github.io/jsxmlrpc/debugger/debugger.html. You can use the debugger to e.g. query the SF demo server (located at the address http://phpxmlrpc.sourceforge.net/server.php), or debug your own personal xmlrpc server, if it is accessible on the net.
Development
GitHub home page (downloads, source code and bug tracker).
Contact
For security related issues feel free to contact ggiunta at users.sourceforge.netRoadmap
A list of things that might (or might not) make it into the next release:
Description | Status (CVS) - updated 2007/04/28 |
---|---|
implement the function xmlrpc_decode_xml() | |
handling of charset encoding (where explicitly requested) | |
timeout in send() methods | OK only for async calls |
async send() method | OK |
compression of requests | |
handling of compression, chunked encoding in parseResponseHeaders | |
Testsuite, speed tests, demo files | |
htmlentities only encodes as much as php function htmlspecialchars | |
encoding/decoding of anon js classes via an xml attribute (since it is hard to recover a class name, we could encode instead all methods code) | |
complete parsing of: new xmlrpcclient('http://james:bond@a.complete/uri') | |
using client credentials for https auth |
Page last updated: 2014/1/18