Viewing file: ws.php (2.33 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
';
$information .= '';
$StudentID = '1';
while($result= mysql_fetch_array($dbquery))
{
//$StudentID = $result["studentId"];
/// if($StudentID!=$BioID){
//$BioID = $result["studentId"];
$information .= '';
$information .= '';
$information .= $result["StudentCode"];
$information .= ' ';
$information .= '';
$information .= $result["StudentName"];
$information .= '';
$information .= '';
$information .= $result["StudentSurname"];
$information .= '';
$information .= '';
$information .= $result["HomePhoneNo"];
$information .= '';
$information .= '';
$information .= $result["ParentEmail"];
$information .= '';
$information .= '';
//}
$information .= '';
return $information;
}
$server = new soap_server;
$server->configureWSDL('student_bio_wsdl', 'urn:student_bio_wsdl');
$server->register('studentbio',
array('studentid' => 'xsd:string'),
array('information' => 'xsd:string'),
'http://61.19.29.30/webservice/',
'http://61.19.29.30/webservice/',
'rpc',
'encoded',
'Search_For_Student_Bio');
$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : '';
$server->service($HTTP_RAW_POST_DATA);
?>
bool(false)
|