December 19, 2001 - Locating the Error Origin | WebReference

December 19, 2001 - Locating the Error Origin

Yehuda Shiran December 19, 2001
Locating the Error Origin
Tips: December 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

When calling a remote Web service in Internet Explorer, errors can and will occur. The trick is how to debug the result's errorDetail object, to find as many clues as possible regarding the source of the problem. The code property is a string defining the fault type. The four possible values are:

Try calling a Web service with a wrong function name. You will receive an errorDetail object where code is equal to Client, inferring that the error occurs at the client side, before reaching the Web service.