str); return $returnMessage; } $operations = array("echoString" => "echoFunction"); $actions = array("http://wso2.org/wsfphp/samples/echoString" => "echoString"); $service = new WSService(array( "operations" => $operations, "actions" => $actions)); $service->reply(); ?>