1XMLRPCSH(1) User Contributed Perl Documentation XMLRPCSH(1)
2
3
4
6 XMLRPCsh.pl - Interactive shell for XMLRPC calls
7
9 perl XMLRPCsh.pl http://betty.userland.com/RPC2
10 > examples.getStateName(2)
11 > examples.getStateNames(1,2,3,7)
12 > examples.getStateList([1,9])
13 > examples.getStateStruct({a=>1, b=>24})
14 > Ctrl-D (Ctrl-Z on Windows)
15
16 or
17
18 # all parameters after uri will be executed as methods
19 perl XMLRPCsh.pl http://betty.userland.com/RPC2 examples.getStateName(2)
20 > Ctrl-D (Ctrl-Z on Windows)
21
23 XMLRPCsh.pl is a shell for making XMLRPC calls. It takes one parameter,
24 endpoint (actually it will tell you about it if you try to run it).
25 Additional commands can follow.
26
27 After that you'll be able to run any methods of XMLRPC::Lite, like
28 autotype, readable, etc. You can run it the same way as you do it in
29 your Perl script. You'll see output from method, result of XMLRPC call,
30 detailed info on XMLRPC faulure or transport error.
31
32 For full list of available methods see documentation for XMLRPC::Lite.
33
34 Along with methods of XMLRPC::Lite you'll be able (and that's much more
35 interesting) run any XMLRPC methods you know about on remote server and
36 see processed results. You can even switch on debugging (with call
37 something like: "on_debug(sub{print@_})") and see XMLRPC code with
38 headers sent and received.
39
41 Copyright (C) 2000 Paul Kulchenko. All rights reserved.
42
44 Paul Kulchenko (paulclinger@yahoo.com)
45
46
47
48perl v5.12.3 2010-06-03 XMLRPCSH(1)