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

View of /trunk/webwork2/clients/hello_world_soap_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, 1 month ago) by gage
File size: 364 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 SOAP::Lite;
    5 my $soap = SOAP::Lite
    6 -> uri('http://devel.webwork.rochester.edu:8002/WebworkXMLRPC')
    7 -> proxy('http://devel.webwork.rochester.edu:8002/mod_soap/WebworkWebservice')
    8 ;
    9 
   10 
   11 my $result = $soap->hi();
   12 
   13 unless ($result->fault) {
   14   print $result->result();
   15 } else {
   16   print join ', ',
   17     $result->faultcode,
   18     $result->faultstring;
   19 }
   20 
   21 

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9