WebSphere Message Service Clients: Web Services Client for C++, Version 1.1 作業系統: Linux, Windows

其他異常狀況

如果伺服器傳回未在 WSDL 中定義的 SOAP 錯誤,則 Web Services Client for C++ 會擲出 OtherFaultException。 如果 Web Services Client for C++ 方法在用戶端失敗, Web Services Client for C++ 會擲出其他 AxisExceptions。

如果伺服器傳回的使用者 SOAP 錯誤並未定義在 WSDL 中,則 Web Services Client for C++ 會擲回 OtherFaultException。 產生的使用者 SOAP 錯誤和 OtherFaultException 都會延伸 SoapFaultException。所以, 用戶端應用程式可能會捕捉到特定的 SOAP 錯誤或任何 SoapFaultException。SoapFaultException 會延伸 AxisException。

Web Services Client for C++ 方法在用戶端失敗時, Web Services Client for C++ 也會擲出其他 AxisExceptions 。例如,當伺服器的端點 URL 無效時。AxisException 會延伸異常狀況, 所以全部的 Web Services Client for C++ 異常狀況都具備方法,可讓用戶端取得異常狀況資訊。


Reference topic

使用條款 | 此頁的評等

「時間戳記」圖示前次更新: 28 Apr 2006
(C) Copyright IBM Corporation 2005. All Rights Reserved.
本資訊中心採用 Eclipse 技術。(http://www.eclipse.org)