Hi, I'm developing a soap web service with axis (my configuration is apache + tomcat with axis).
In some circumstances my web services has to create a SOAP fault which has to be sent to the client. I'm a a bit confused with Axis management of SOAP fault (I've tried to read email in mailing list but without success too). I've declared my Exception: public class DoMyException extends org.apache.axis.AxisFault implements java.io.Serializable { private int codice; private java.lang.String stringa; public DoMyException() { } public DoMyException( int codice, java.lang.String stringa) { this.codice = codice; this.stringa = stringa; } ....... } In my web services method, in some circumstances, I throw such exception: public MySearchResult doMySearch(java.lang.String query) throws java.rmi.RemoteException, DoMyException { ...... try { if (cond) { throw new DoMyException(1, "Description"); } } catch (DoMyException e) { ...... throw e; } ..... } When in my test client I try to generate a SOAP fault I don't receive anything. With SOAPMonitor I see the request SOAP message but not the response. My client: try { MySearchService service = new MySearchServiceLocator(); MySearchPort port = service.getMySearchPort(); ......... MySearchResult r = port.doMySearch(query); ..... } catch (DoMyException e) { System.err.println("Cod = " + e.getCodice()); System.err.println("String = " + e.getStringa()); System.exit(1); } Probably I'm making some mistakes but I don't see where. Any help would be very useful. Thanks Bye --Marco