Welcome Guest, Not a member yet? Register   Sign In
Soap call working outside of CI but not inside
#1

[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?
#2

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

[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




Theme © iAndrew 2016 - Forum software by © MyBB