I know this has been discussed before here, but I can't seem to find a solution. Hoping someone can provide assistance.
I've created a custom exception class with some extra error info which I want my service methods to throw. When I run wsdl2java, Axis creates the class as a subclass of org.apache.axis.AxisFault, which results in the serialized object belonging to the axis namespace and being unparsable by non-axis clients. I've tried changing the generated code so that it simply extends java.rmi.RemoteException, but then the additional error details are not serialized and sent back to the client. Is there an easy solution to this problem which would allow me to send back exceptions parsable by any SOAP client? thanks. -rob