Respect the 'exceptions'=>false option in SoapClient
commit88034d18a6b97b37e2a5987578e46579f9346a50
authorSara Golemon <sgolemon@fb.com>
Wed, 21 May 2014 22:32:43 +0000 (21 15:32 -0700)
committerJoelMarcey <joelm@fb.com>
Thu, 22 May 2014 18:15:40 +0000 (22 11:15 -0700)
tree41ccd726506728abef77d079718a39336184587a
parentbaf46bb9df1bca704d73ef82b521488bcffacba0
Respect the 'exceptions'=>false option in SoapClient

Summary: When we don't want exceptions to be raised
from SOAP, we should allow the SOAP errors to be
returned to and consumed by the client.

Also, 200 isn't the only success code.
Change the check to >=400 to match PHP5.

Closes #2315

Reviewed By: @JoelMarcey

Differential Revision: D1337823
hphp/runtime/ext/ext_soap.cpp