CodeIgniter Forums
Soap call working outside of CI but not inside - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Soap call working outside of CI but not inside (/showthread.php?tid=2622)



Soap call working outside of CI but not inside - El Forum - 08-15-2007

[eluser]gerrit.undefined[/eluser]
Hi All,

I am working with a webservice and am running into the following:

The command that I need to execute is as follows:
$result=$client->TheCommand($data, $Options, 0)->result;

This works fine in a simple php page but as soon as I put it in a controller and a command the following error message shows up:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: SoapFault::$result
Filename: controllers/mycontroller.php
Line Number: 44


Anyone a clue?


Soap call working outside of CI but not inside - El Forum - 10-11-2007

[eluser]Unknown[/eluser]
Did you get a solution for this yet ?


Soap call working outside of CI but not inside - El Forum - 10-11-2007

[eluser]gerrit.undefined[/eluser]
No, I haven't worked on this for a while, I will write a wrapper around my soap calls and see how far I get.

Regards,

Gerrit