ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePerl 5.6
Programs
GET
HEAD
POST
SOAPsh
XMLRPCsh
c2ph
cpan
dprofpp
enc2xs
exetype
find2perl
h2ph
h2xs
libnetcfg
lwp-download
lwp-mirror
lwp-request
lwp-rget
perlbug
perlcc
perlglob
perlivp
piconv
pl2bat
pl2pm
pod2html
pod2latex
pod2man
pod2text
pod2usage
podchecker
podselect
ppm
ppm3
ppm3-bin
psed
pstruct
ptked
ptksh
reloc perl
runperl
s2p
splain
widget
xsubpp

MyASPN >> Reference >> ActivePerl 5.6 >> Programs

 XMLRPCsh.pl - Interactive shell for XMLRPC calls


NAME

XMLRPCsh.pl - Interactive shell for XMLRPC calls


SYNOPSIS

  perl XMLRPCsh.pl http://betty.userland.com/RPC2 
  > examples.getStateName(2)
  > examples.getStateNames(1,2,3,7)
  > examples.getStateList([1,9])
  > examples.getStateStruct({a=>1, b=>24})
  > Ctrl-D (Ctrl-Z on Windows)

or

  # all parameters after uri will be executed as methods
  perl XMLRPCsh.pl http://betty.userland.com/RPC2 examples.getStateName(2)
  > Ctrl-D (Ctrl-Z on Windows)


DESCRIPTION

XMLRPCsh.pl is a shell for making XMLRPC calls. It takes one parameter, endpoint (actually it will tell you about it if you try to run it). Additional commands can follow.

After that you'll be able to run any methods of XMLRPC::Lite, like autotype, readable, etc. You can run it the same way as you do it in your Perl script. You'll see output from method, result of XMLRPC call, detailed info on XMLRPC faulure or transport error.

For full list of available methods see documentation for XMLRPC::Lite.

Along with methods of XMLRPC::Lite you'll be able (and that's much more interesting) run any XMLRPC methods you know about on remote server and see processed results. You can even switch on debugging (with call something like: on_debug(sub{print@_})) and see XMLRPC code with headers sent and recieved.


COPYRIGHT

Copyright (C) 2000 Paul Kulchenko. All rights reserved.


AUTHOR

Paul Kulchenko (paulclinger@yahoo.com)

 XMLRPCsh.pl - Interactive shell for XMLRPC calls


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved