Problem With nuSoap and CI - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Problem With nuSoap and CI (/showthread.php?tid=60901) |
Problem With nuSoap and CI - El Forum - 07-26-2014 [eluser]Unknown[/eluser] hi guys , im really stucked on nusoap in codeigniter , could anybody help me please ?! here is my soap server controller : Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); and here is my soap client controller Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); and i got this error when i call the client : Quote:Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Client] method 'getDeviceList'('getDeviceList') not defined in service('' '') in /var/www/html/samenea/application/controllers/client.php:18 Stack trace: #0 /var/www/html/samenea/application/controllers/client.php(18): SoapClient->__call('getDeviceList', Array) #1 /var/www/html/samenea/application/controllers/client.php(18): SoapClient->getDeviceList(Array) #2 [internal function]: Client->index() #3 /var/www/html/samenea/system/core/CodeIgniter.php(359): call_user_func_array(Array, Array) #4 /var/www/html/samenea/index.php(202): require_once('/var/www/html/s...') #5 {main} thrown in /var/www/html/samenea/application/controllers/client.php on line 18 thank you guys .. Problem With nuSoap and CI - El Forum - 09-04-2014 [eluser]tudo75[/eluser] Maybe the problem is the wrong $ns values in your Controllers Code: class soap_member extends CI_Controller { and Code: class Client extends CI_Controller { |