function modifyVLCourse($course) { //**** modifyCourse ***** $wsdl = "http://ita-provisioner.cis.fiu.edu:8080/axis2/services/VirtualLabs?wsdl"; $location = "http://ita-provisioner.cis.fiu.edu:8080/axis2/services/VirtualLabs"; $result = false; try { $coursenew = array('id' => $course->id, 'shortname' => $course->shortname, 'fullname' => $course->fullname, 'promoCode' => $course->promocode); //$params = array('course' => $coursenew); $client = new SoapClient($wsdl, array('location' => $location)); $result = $client->modifyCourse($coursenew); $result = true; } catch (Exception $e) { $result = false; } catch (SoapFault $soapfault) { $result = false; } return $result; }