brekehan Posted November 5, 2009 Share Posted November 5, 2009 How do I get the return value from a call to a SOAP client? When I do a var_dump on it, it says it is: object(stdClass)#3 (1) { ["AddplusResult"]=> float(7) } Sounds wonderful, but I do not know how to pull that value of 7 out and stick it in a variable. Link to comment https://forums.phpfreaks.com/topic/180445-get-return-value-possibly-soap-specific/ Share on other sites More sharing options...
abazoskib Posted November 5, 2009 Share Posted November 5, 2009 I usually do $response = $soapServer->function(); If you echo $response it should contain your data. Link to comment https://forums.phpfreaks.com/topic/180445-get-return-value-possibly-soap-specific/#findComment-952010 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.