From: shahrzad khorrami on
hi all,


Is it possible to define (pass a argument 'function name') that we can
change the function to call from soap? for example here we can pass getList
and then = $client->geList() must call... it means pass what function to
call from wsdl...

$this->_helper->results('this func must call from wsdl')



class Zend_Controller_Action_Helper_Results extends
Zend_Controller_Action_Helper_Abstract
{


$client = new Zend_Soap_Client('http://192.168.200.18/neuron.wsdl',
$options);
$result = $client->*getUsers*();




Regards,
Shahrzad Khorrami
From: shahrzad khorrami on
ok friends, solved ;)
$funName = 'getAssetHostsList';
$results = $this->_helper->results($funName);



$result = $client->$funName();

Thanks
shahrzad
 | 
Pages: 1
Prev: simplexml_load_file problem
Next: editing a file