Hello List, I have a question about Axis and exception handling. I defined a service that throws my own custom exception as follows:
public interface PtrBroker extends Remote { public abstract Ptr getPtr(long id) throws PtrException, RemoteException; } PtrException is a simple class that extends java.lang.Exception. When I run java2WSDL to generate the wsdl, and I run WSDL2java to generate the client classes, all of the generated classes refer to the PtrException class, and PtrException is one of the classes that is generated. My problem is that when this exception is thrown on the server, the client does not see it as a PtrException...instead it sees it as an AxisFault. I have been looking through archives and I believe it was mentioned that Axis was modified after the 1.0 release so that the client sees the custom exception instead of the Axis fault. Is this true? Is there a workaround in Axis 1.0, or will it be better to wait for the next release? Thanks in advance, Patrick