A webservice debugger is included in the library to help during development and testing.
The interface should be self-explicative enough to need little documentation.
The most useful feature of the debugger is without doubt the "Show debug info" option. It allows to have a screen dump of the complete http communication between client and server, including the http headers as well as the request and response payloads, and is invaluable when troubleshooting problems with charset encoding, authentication or http compression.
The debugger can take advantage of the JSONRPC library extension, to allow debugging of JSON-RPC webservices, and of the JS-XMLRPC library visual editor to allow easy mouse-driven construction of the payload for remote methods. Both components have to be downloaded separately from the sourceforge.net web pages and copied to the debugger directory to enable the extra functionality:
to enable jsonrpc functionality, download the PHP-XMLRPC
EXTRAS package, and copy the file jsonrpc.inc
either to the same directory as the debugger or somewhere in your
php include path
to enable the visual value editing dialog, download the
JS-XMLRPC library, and copy somewhere in the web root files
visualeditor.php
,
visualeditor.css
and the folders
yui
and img
. Then edit the
debugger file controller.php
and set
appropriately the variable $editorpath
.