Part of the EllisLab Network
   
 
Soap call working outside of CI but not inside
Posted: 15 August 2007 06:04 AM   [ Ignore ]  
Summer Student
Total Posts:  4
Joined  06-26-2007

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?

Profile
 
 
Posted: 11 October 2007 04:22 AM   [ Ignore ]   [ # 1 ]  
Summer Student
Avatar
Total Posts:  5
Joined  10-04-2007

Did you get a solution for this yet ?

 Signature 

regards
clive

Profile
 
 
Posted: 11 October 2007 04:27 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  4
Joined  06-26-2007

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

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 64453 Total Logged-in Users: 21
Total Topics: 80961 Total Anonymous Users: 0
Total Replies: 435695 Total Guests: 196
Total Posts: 516656    
Members ( View Memberlist )