Try OpenEdge Now
skip to main content
Web Services
Creating OpenEdge SOAP Web Services : Building Clients for OpenEdge SOAP Web services : Handling Web service errors and SOAP faults
 

Handling Web service errors and SOAP faults

Clients receive Web service errors in the form of a SOAP fault. A SOAP fault specifies a particular format for the body of SOAP response messages that return errors instead of successful responses to SOAP requests. Errors are also reflected in log files for various components of the OpenEdge Web services tools and the Web server or JSE. Run-time errors, which are normally returned to the client application, can occur at the following points in a message exchange:
*Client errors occur:
*Before a request is sent to the Web service. The nature of these errors and how they are propagated depends on the client platform.
*While the request is being sent to the Web service. These errors can be written to a log and might result in a SOAP fault.
*Server errors occur after the Web service begins processing the request, preparing and sending the request to the AppServer. These errors can be written to a log and result in a SOAP fault.
* Client programming for SOAP faults