'http://localhost/farid/soap/'); //create a new SOAP server $server = new SoapServer(NULL,$options); //attach the API class to the SOAP Server $server->setClass('MyAPI'); //start the SOAP requests handler $server->handle(); ?>