Client programming for SOAP faults
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Client interfaces typically convert SOAP faults to client exceptions. Client code should
handle SOAP faults and alert the user. Client languages catch errors in different ways. One of
the more common techniques is to use try...catch blocks such as those used in
Java and C#.
Note: For ABL, OpenEdge translates SOAP faults into ABL errors and provides access
to the SOAP fault information. For more information, see Handling Errors in ABL Requests to OpenEdge SOAP Web Services.
CAUTION: In any
catch block or other error routine where you exit
the program, you must release all Web service objects that you have created in the
program.This is the general format for a SOAP fault, with content indicated by the XML comments:
SOAP faults—general format
|
For more information on catching and viewing SOAP faults and working with log files to debug OpenEdge Web services, see SOAP faults.