| // +----------------------------------------------------------------------+ // // $Id$ // require_once('SOAP/Client.php'); # client $soapclient = new SOAP_Client("tcp://127.0.0.1:82"); # namespace $options = array('namespace' => 'urn:SOAP_Example_Server', 'trace' => 1); # one $params = array("string" => "this is string 1"); $ret1 = $soapclient->call("echoString", $params, $options); # echo "WIRE: \n".$soapclient->__get_wire(); print_r($ret1); echo "
\n"; # two $params = array("string" => "this is string 2"); $ret2 = $soapclient->call("echoString", $params, $options); # echo "WIRE: \n".$soapclient->__get_wire(); print_r($ret2); echo "
\n"; ?>