X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=php%2Fphpxmlrpc%2Fdebugger%2Fcontroller.php;fp=php%2Fphpxmlrpc%2Fdebugger%2Fcontroller.php;h=2fd43070fe6a7e4695e9e9f73aa76f62f24a2d75;hb=21d187714285d9818fd94509b015ba069facb7ef;hp=0000000000000000000000000000000000000000;hpb=9bd41316bc9541bbedfe45377089d4e4927129b1;p=plcapi.git diff --git a/php/phpxmlrpc/debugger/controller.php b/php/phpxmlrpc/debugger/controller.php new file mode 100644 index 0000000..2fd4307 --- /dev/null +++ b/php/phpxmlrpc/debugger/controller.php @@ -0,0 +1,357 @@ + 100%... + * @todo add support for more options, such as ntlm auth to proxy, or request charset encoding + * @todo parse content of payload textarea to be fed to visual editor + * @todo add http no-cache headers + **/ + +// make sure we set the correct charset type for output, so that we can display all characters +header('Content-Type: text/html; charset=utf-8'); + +include __DIR__ . '/common.php'; +if ($action == '') { + $action = 'list'; +} + +// relative path to the visual xmlrpc editing dialog +$editorpath = '../../phpjsrpc/debugger/'; +$editorlibs = '../../phpjsrpc/lib/'; +?> + + + + XMLRPC Debugger + + + + + + + + + +

XMLRPC +
+ / +
+ JSONRPC Debugger (based on the PHP-XMLRPC library) +

+
+ + + + + + + + + + + +

Target server

Address:Port: + Path:
+ + + + + + + + + +

Action

List available methods onclick="switchaction();"/>Describe method onclick="switchaction();"/>Execute method onclick="switchaction();"/>Generate stub for method call onclick="switchaction();"/>
+ + + + + + + + + + + + +

Method

Name:Payload:
+
+
Msg id: +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Client options

Show debug info: + Timeout:Protocol:
AUTH:Username:Pwd:Type
SSL:Verify Host's CN:Verify Cert: />CA Cert file:
PROXY:Server:Proxy user:Proxy pwd:
COMPRESSION:Request:Response:
COOKIES:Format: 'cookie1=value1, cookie2=value2'
+ +
+ +