This project is read-only.

Critical bug fixed in exception handling

Topics: Developer Forum
Jul 14, 2007 at 2:01 AM

JavaScript SOAP Client was using an IE specific constructor for the Error class in the SOAP Fault handling section of SOAPClient._onSendSoapRequest.

I've uploaded a patch for this and also simplified a few conditionals and normalized formatting to the style most of it was written in.

A useful cross browser reference for the Error class:

Incidentally, while developing my application which uses SOAP Fault's I discovered the default behaviour ASP.NET has of returning HTTP status 500 when a web service throws an exception is not supported in Opera due to it always returning a null responseText and responseXML when the status code is not 200, which surprised me: