This chapter provides examples to show how exception handling can be implemented in a web service client application.
Web Services Client for C++ uses exceptions to report back any errors that have occurred. To catch these exceptions, the client application must surround all Web Services Client for C++ methods with a try…catch framework.
SOAP faults are represented as exceptions; they are thrown back to the client application as a subclass of SoapFaultException.
The examples in the following sections show to handle exceptions in a client application.