Hi all,

(This may be a FAQ, not sure...)

How can I get a service-specific exception passed back properly
(proper type, etc) to the invoking client?

My service interface looks somewhat like this:
> public TestType test(TestType data) throws TestExc;

The generated WSDL contains the proper typedef for the exception,
WSDL2Java generates the proper classes (including the exception),
the client stub has the proper signature (throws TestExc), but the
type of returned exception on the client side at runtime is
"org.apache.axis.AxisFault", not "TestExc".

And therefore it never catches "TestExc" in the client...

Am I missing something?

Thanks,

-- Oliver

Reply via email to