'; $information .= ''; $StudentID = '1'; while($result= mysql_fetch_array($dbquery)) { $StudentID = $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('bio_student_wsdl', 'urn:bio_student_wsdl'); $server->register('bio_student', array('studentid' => 'xsd:string'), array('information' => 'xsd:string'), 'http://61.19.29.30/webservice/', 'http://61.19.29.30/webservice/', 'rpc', 'encoded', 'Search_For_bio_student'); $HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : ''; $server->service($HTTP_RAW_POST_DATA); ?>