str); return $outMessage; } $operations = array("echoString" => "echoFunction","echoString1"=>"echoFunction"); $restmap = array ("echoString"=>array("HTTPMethod"=>"GET","RESTLocation"=> "echoString"), "echoString1"=>array("HTTPMethod"=>"POST","RESTLocation"=> "echoString")); $service = new WSService(array("operations" => $operations, "RESTMapping"=>$restmap)); $service->reply(); ?>