Try OpenEdge Now
skip to main content
Web Services
Creating ABL Clients to Consume OpenEdge SOAP Web Services : Handling Errors in ABL Requests to OpenEdge SOAP Web Services : Examples of ABL accessing a SOAP fault

Examples of ABL accessing a SOAP fault

The first two examples run an operation on a fictitious Web service that returns a SOAP fault identical to the one described in the beginning of this section (see the Handling SOAP faults). They access and examine the SOAP fault message as described in the following steps. The first example uses traditional error handling, and the second uses structured error handling.
The third example shows how to access and examine a class-based error object returned from an asynchronous call.
* Traditional error handling example
* Structured error handling example
* Asynchronous call error handling example