: Question on user exception handling on autogenerated
clients
Hi, Michael.
Handling service-specific exception is implemented in Axis.
In the generated code,
> java.lang.Object _resp = _call.invoke(new java.lang.Object[]
>{new java.lang.Integer(in0)});
>
> if (_res
Michael,
The server services throw a RemoteException, that's what you "catch" in
the client. If a handler, either before or after the service is called,
throws an exception, it is usually an AxisFault.
Tom Gordon
Michael Merz wrote:
Bcc: [EMAIL PROTECTED]
I'm autogenerating my clients using the
pls check the test/wsdl/faults example.
-- dims
On Tue, 14 Dec 2004 10:12:20 -0800, Michael Merz <[EMAIL PROTECTED]> wrote:
> Bcc: [EMAIL PROTECTED]
>
> I'm autogenerating my clients using the wsdl2java ant task. It's working
> really well.
>
> One question regarding exception handling, though
Bcc: [EMAIL PROTECTED]
I'm autogenerating my clients using the wsdl2java ant task. It's working
really well.
One question regarding exception handling, though: When the server
throws a custom exception (subclass of java.lang.Exception), how does
the autogenerated client propagate the results in t