<?php
// turn off the WSDL cache
ini_set("soap.wsdl_cache_enabled", "0");

$client = new SoapClient("http://localhost:8888/Server.php?wsdl"); //, array('encoding'=>'ISO-8859-1'));
$client->__setLocation("http://localhost:8888/Server.php?wsdl");

$origtext = "Hello from RJM Programming";

print("<p>The original text : " . $origtext . "</p><br>");

$reversed = $client->helloName($origtext, array());

print("<p>The reversed text : " . $reversed . "</p><br>");

?>
