Release 10.1A: OpenEdge Development:
Web Services

> ## Handling Errors in Progress 4GL Requests to Web Services

> As described previously, the `ERROR` condition can result from a Web service request by:

> 1. A SOAP fault returned by the Web service.

> 2. A 4GL internal error raised by OpenEdge.

> 3. An error intentionally raised by the 4GL application (using the `RETURN` `ERROR` statement) in a SOAP request header callback procedure or a SOAP response header callback procedure.

> For a thorough overview of handling all types of errors, see Chapter 1, " Web Services in OpenEdge."

> This chapter focuses on how to handle SOAP faults and generally how to debug Web service requests, including the following sections:

> - Handling SOAP faults

> - Detecting a SOAP fault

> - Managing a SOAP fault

> - Example 4GL accessing a SOAP fault

> - Debugging 4GL applications that call Web services

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095