Handling errors on the client
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
To handle a SOAP fault in a VB.NET client, catch the SoapException and parse
it, as shown:
|
CAUTION: In any
catch block where you exit the
program, you must release all Web service objects you created in the program.The parseSoapException( ) method in this example is a client function
provided in the .NET samples installed with OpenEdge. It parses the detail error information
from the SOAP fault message.
You can also use the Microsoft SOAP Toolkit to assist in debugging SOAP fault messages. For more information, see Test and debug OpenEdge SOAP Web Services.