Fix exception handling in SoapAdapter