WebSphere Web Services Client for C++, Version 1.0.1 Operating Systems: Linux, Solaris

Other exceptions

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.


Reference topic

Terms of Use | Rate this page

Timestamp iconLast updated: 12 Dec 2005
(C) Copyright IBM Corporation 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)