Warning: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/mimic-xmlrpc/htdocs/index.php on line 2
Mimic - JavaScript XML-RPC Client


Mimic is an open source XML-RPC client implemented in JavaScript. It was classified as client, because it is only able to produce requests and parse responses, so you cannot use it to parse requests and produce responses as required for a server implementation.

It is intended to be embedded inside web pages and enable them to access web services based on XML-RPC through the W3C XMLHttpRequest interface.

It is compliant with the major browsers (IE, Firefox, Opera, Safari and Chrome).


How to Use

It is very simple to use Mimic, you only have to produce a request and then process the response. To do it you only have to use two small objects XmlRpcRequest and XmlRpcResponse.

Bellow we show a very simple example of a calculator accessed from Mimic:


The code used to access this service is:



Mimic is an open source project dual licensed (MIT and GPLv3). You can download it form SourceForge.





©2018 Carlos Eduardo Gonçalves