Null soap function?

View: New views
2 Messages — Rating Filter:   Alert me  

Null soap function?

by deadguy-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Null soap function?

by Dalibor Andzakovic-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Null return on an external API?? You should, at the very least return true/false to indicate that the function actually succeeded IMHO.

dali

2009/8/4 deadguy <deadguysfrom@...>

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?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "phpsoa" group.
To post to this group, send email to phpsoa@...
To unsubscribe from this group, send email to phpsoa+unsubscribe@...
For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---