#49513 [NEW]: SoapServer->fault() shouldn't halt execution
| From: | amr dot mostafa at gmail dot com | Date: | Wed, 09 Sep 2009 12:54:10 +0000 |
| Subject: | #49513 [NEW]: SoapServer->fault() shouldn't halt execution | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-142155@lists.php.net to get a copy of this message | ||
From: amr dot mostafa at gmail dot com
Operating system: GNU/Linux
PHP version: 5.3.0
PHP Bug Type: Feature/Change Request
Bug description: SoapServer->fault() shouldn't halt execution
Description:
------------
Calling SoapServer->fault() causes execution to terminate, there is no way
for the developer to get the XML response itself and process it
differently.
Reproduce code:
---------------
$server = SoapServer(NULL, array('location' => 'http://example.com', 'uri'
=> 'http://example.com'));
$server->fault('foo', 'bar');
echo 'We are past $sever->fault()!'
Expected result:
----------------
We are past $server->fault()!
Actual result:
--------------
"We are past $server->fault()!" is never printed, only the XML for the
SOAP Fault is.
--
Edit bug report at http://bugs.php.net/?id=49513&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49513&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49513&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49513&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49513&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49513&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49513&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49513&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49513&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49513&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49513&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49513&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49513&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49513&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49513&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49513&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49513&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49513&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49513&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49513&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49513&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49513&r=mysqlcfg