Zend_Soap_Client --HOw to pass what function to call from wsdl
| From: | shahrzad khorrami | Date: | Mon, 24 May 2010 09:28:19 +0000 |
| Subject: | Zend_Soap_Client --HOw to pass what function to call from wsdl | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-305479@lists.php.net to get a copy of this message | ||
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