axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject SOAPFaultException in Axis
Date Mon, 10 Nov 2003 16:11:41 GMT

I've tried to throw a SOAPFaultException in the handleRequest of a JAX-RPC Handler but it
looks like Axis finally generates its own exception. My code is:

Detail detail = null;
try {
  detail = SOAPFactory.newInstance().createDetail();
  detail.addChildElement("MyDetailss").addTextNode(" ffffailedddd");
} catch (SOAPException e1) {}
throw new SOAPFaultException(
  new QName("http://test/test", "test"),
  "info on the fault",        
  "info on the actor",

Is it possible to work with SOAPFaultException in Axis, instead of AxisFault?. How?.


McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!

Get AOL Instant Messenger 5.1 free of charge.  Download Now!

View raw message