[system] / trunk / webwork2 / clients / hello_world_xmlrpc_client.pl Repository:
ViewVC logotype

View of /trunk/webwork2/clients/hello_world_xmlrpc_client.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3227 - (download) (as text) (annotate)
Thu May 19 00:55:38 2005 UTC (8 years ago) by gage
File size: 400 byte(s)
I've updated the clients so they work with the current configuration of
the apache server running in my directory  (http://devel.webwork.rochester.edu:8002)

Once the webwork.apache-config files have been updated they should work on other
systems that are up-to-date with the cvs.

-- Mike

    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