Discussion:
Null soap function?
deadguy
2009-08-03 22:21:58 UTC
Permalink
Hello,

If I try to create a soap service function, I get the following error:

Fatal error: Uncaught exception 'SDO_PropertyNotFoundException' with
message 'Cannot find property:nullFuncReturn' in /usr/share/php/SCA/
Bindings/soap/Wrapper.php:94

I ended up just returning a constant string, but it's a messy and
confusing hack. Is it not possible to have a function with no return
value?
Dalibor Andzakovic
2009-08-10 20:20:18 UTC
Permalink
Null return on an external API?? You should, at the very least return
true/false to indicate that the function actually succeeded IMHO.
dali
Post by deadguy
Hello,
Fatal error: Uncaught exception 'SDO_PropertyNotFoundException' with
message 'Cannot find property:nullFuncReturn' in /usr/share/php/SCA/
Bindings/soap/Wrapper.php:94
I ended up just returning a constant string, but it's a messy and
confusing hack. Is it not possible to have a function with no return
value?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa-/***@public.gmane.org
To unsubscribe from this group, send email to phpsoa+unsubscribe-/***@public.gmane.org
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---

Loading...