[system] / tags / rel-2-2-pre2 / webwork2 / clients / hello_world_xmlrpc_client.pl Repository:
ViewVC logotype

View of /tags/rel-2-2-pre2/webwork2/clients/hello_world_xmlrpc_client.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3947 - (download) (as text) (annotate)
Sun Jan 22 03:50:43 2006 UTC (7 years, 3 months ago)
File size: 400 byte(s)
This commit was manufactured by cvs2svn to create tag 'rel-2-2-pre2'.

    1 #!/usr/bin/perl -w
    2 
    3 #
    4 use XMLRPC::Lite;
    5   my $soap = XMLRPC::Lite
    6    # ->uri('http://webwork-db.math.rochester.edu/Demo/')
    7   -> proxy('http://devel.webwork.rochester.edu:8002/mod_xmlrpc/');
    8 
    9 
   10   my $result = $soap->call("WebworkXMLRPC.hi");
   11 
   12 
   13   unless ($result->fault) {
   14     print $result->result(),"\n";
   15   } else {
   16     print join ', ',
   17       $result->faultcode,
   18       $result->faultstring;
   19   }

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9