Consultor Eletrônico



Kbase P22743: Where can I find a SOAP exception catch example for JAVA?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/11/2003
Status: Unverified

GOAL:

Where can I find a SOAP exception catch example for JAVA?

FIX:


The Java-Axis sample clients (OrderInfo.java, etc) provided under the DLC/samples/webservices directory give you an example of how to catch the org.apache.axis.AxisFault exception and extract the SOAP Fault details.

See the Readme in the Java-Axis samples directory for more information on the Axis clients for the three web service apps (session-managed OrderInfo, and session-free QuoteService and
DynTempTable).

For other java client platforms you have to look at the proxies find the name of the exception that is thrown. Then you'd have to look up the client documentation on that class for information on how to extract the details.