// ************************************************************ // SAINTlogin (c) www.saintlogin.com // // Server-Side login page for PHP (Unix, APACHE) web servers // ************************************************************ // This is a server-side interface function, invoked by client-side user's browser function GetFreePhoneID_function() { // remote call to SAINTlogin webservice $webservice='http://www.saintlogin.com/SAINT_WS/SAINTlogin_service.php?wsdl'; // wsdl webservice $soapclient = new soapclient($webservice,'wsdl'); $result = $soapclient->call('GetFreePhoneID',array('host_service'=>"any",'host_password'=>'test')); // error checking if($soapclient->getError()){ echo '---Error in service bridge GetFreePhoneID on '.$webservice.'--- '.$soapclient->getError(); }else{ echo $result; } }