by Majda Majda23.
Hi Patrick, thks a lot for your fast reply, i did indeed add global to $USER and i still can't send the value of $USER->id to wsdl file (i can read it but i can't send it)!!!
do you know if there is any restruction about sending the value of moodle's global variables to wsdl file using a personal function?!
Thanks,