function modifyQSUser($user) { //**** modifyUser ***** $wsdl = "http://ita-provisioner.cis.fiu.edu:8080/axis2/services/QuotaSystem?wsdl"; $location = "http://ita-provisioner.cis.fiu.edu:8080/axis2/services/QuotaSystem"; $result = false; try { $usernew = array('id' => $user->id, 'username' => $user->username, 'email' => $user->email); //$params = array('user' => $usernew); $client = new SoapClient($wsdl, array('location' => $location)); $result = $client->modifyUser($usernew); $result = true; } catch (Exception $e) { //echo "Exception: ".$e."<br/>"; $result = false; } catch (SoapFault $soapfault) { //echo "SoapFault: ".$soapfault."<br/>"; $result = false; } return $result; }