Hi,
I found another tutorial for zendstudio 10 offcial release but when I test the add of the new rpc method I receive an error 500 from the server. The link of the tutorial is this:
http://files.zend.com/help/Mobile/Zend- ... studio.htmI find In the ZendServer logs this error: "undefined variable name" for the 4 parameters that I have configurated in the new rpc service dialog window. This is the code of the pubblic function "add"
- Code: Select all
public function add()
{
$inserted = $this->customerTable->insert(array(
'name' => $name,
'location' => $location,
'activity' => $activity,
'phone' => $phone
));
if($inserted)
return $this->customerTable->getLastInsertValue();
return -1;
}
I use ZendServer 6.0 and ZendStudio official release
Can you help me?
Benny