<?php
// function to get price from database
function print_hello() {
    return 
"Hello World";
    }

// include the SOAP classes
require_once('nusoap.php');

// create the server object
$server = new soap_server;

// register the lookup service
$server->register('print_hello');

// if the lookup fails, return an error
$fault $server->fault('soap:Server','http://www.dkfz-heidelberg.de/spec/soap/php_demo_server/hello.php',$error);


// send the result as a SOAP response over HTTP
$server->service($HTTP_RAW_POST_DATA);
?>