SOAP Faults

When an error is raised during development, you will want to know where the error originated. Because this information is not useful to consumers of the Web service, you won't want to return meaningless line numbers when the service is deployed. Instead, you will want to provide other contextual information about what happened.

The SOAP Fault element has four separate pieces. In the following list, the bold names are for SOAP 1.1 and the SOAP 1.2 names are shown in italics.

The fault codes fall into the following categories.

When a JADE exception is raised on the Web service provider, the fault is converted to a SOAP fault message and returned to the client. SOAP faults are returned as HTTP 500 errors.