3 require_once('nusoap.php');
7 $s = new soapclient( 'http://localhost:80/soap/' );
8 print "==echoString==\n";
9 $r = $s->call( 'echoString', array( $t ) );
12 print( "Error: ".$s->getError() . "\n" );
14 print "\n\n==getArticle==\n";
15 $r = $s->call( 'getArticle', array( 'Frankfurt' ) );
18 print( "Error: ".$s->getError() . "\n" );
20 print "\n\n==getArticleByVersion==\n";
21 $r = $s->call( 'getArticleByVersion', array( 'Frankfurt am Main', 0 ) );
24 print( "Error: ".$s->getError() . "\n" );
26 print "\n\n==getArticleRevisions==\n";
27 $r = $s->call( 'getArticleRevisions', array( 'Frankfurt am Main' ) );
30 print( "Error: ".$s->getError() . "\n" );
32 print "\n\n==searchTitles==\n";
33 $r = $s->call( 'searchTitles', array( 'furt', 1 ) );
36 print( "Error: ".$s->getError() . "\n" );