public function ScheduleSetProfiles(CbgrnSchedulePersonalProfileType $profile) { // $profile : CbgrnSchedulePersonalProfileType class $this->CheckAndSetHeader(__FUNCTION__); $reg_args["personal_profile"] = $profile->getObjectVars(); $this->encodeString($reg_args); $results = parent::ScheduleSetProfiles($reg_args); $this->methodClose(); return $this->decodeString(new CbgrnSchedulePersonalProfileType($results->personal_profile)); }