Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.0RC1, 1.5.0RC2, 1.5.0RC3, 1.5.0, 1.5.0PL1, 1.5.1, 1.5.2, 1.6.0RC1, 1.5.3, 1.6.0RC2, 1.6.0RC3, 1.6.0, 1.6.1, Next Major Release
-
Fix Version/s: 1.7.0
-
Component/s: Zend_Soap_Server
-
Labels:None
Description
SoapFault expects the code parameter being a string instead of an integer.
If code is an integer, the SoapException reports an internal server error instead of the correct one.
The correct call has to be:
return new SoapFault( (string) $code, message );
You're correct, line 799 of server.php needs to have (string) to works correctly. Now I can register Exception and use it in the handled class. Thanks.