If the server returns a SOAP fault that is not defined in the WSDL Web Services Client for C++ throws an OtherFaultException. If a Web Services Client for C++ method fails in the client, Web Services Client for C++ throws other AxisExceptions.
Web Services Client for C++ throws an OtherFaultException back if the server returns a SOAP fault that is not a user SOAP fault defined in the WSDL. Generated user SOAP faults and OtherFaultException both extend SoapFaultException. So, the client application may catch a specific SOAP fault or any SoapFaultException. SoapFaultException extends AxisException.
Web Services Client for C++ also throws other AxisExceptions when a Web Services Client for C++ method fails in the client. An example is when the endpoint URL of the server is invalid. AxisException extends the exception, and so all these Web Services Client for C++ exceptions have methods that enable the client to get the exception information.