You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Matthew Denner <ma...@denner.demon.co.uk> on 2003/01/09 22:19:25 UTC

Some way to recreate a server side exception on the client?

Hi,

Is there any way to recreate the exception thrown on the server side of 
an Axis SOAP connection on the client side?  For instance, say my 
service throws an SQLException, can I get it recreated (obviously 
without the original stack trace) on the client side?  I see that an 
org.apache.axis.AxisFault is what is actually thrown but this doesn't 
appear to achieve (quite) what I want.  I'm using the 1.1b release of Axis.

Any help much appreciated.

Matt



Re: Some way to recreate a server side exception on the client?

Posted by Steve Loughran <st...@iseran.com>.
----- Original Message -----
From: "Matthew Denner" <ma...@denner.demon.co.uk>
To: <ax...@xml.apache.org>
Sent: Thursday, January 09, 2003 13:32
Subject: Re: Some way to recreate a server side exception on the client?


> Matthew Denner wrote:
> >
> > Is there any way to recreate the exception thrown on the server side of
> > an Axis SOAP connection on the client side?  For instance, say my
> > service throws an SQLException, can I get it recreated (obviously
> > without the original stack trace) on the client side?  I see that an
> > org.apache.axis.AxisFault is what is actually thrown but this doesn't
> > appear to achieve (quite) what I want.  I'm using the 1.1b release of
Axis.
> >
> > Any help much appreciated.
>
> Sorry, different search ("exception" is just one of those words that you
> can't use in a Java search!) of axis-user mailing list reveals the
> answer: no.  Well, not at the moment by the looks of things.
>

read what the JAX-RPC spec has to say on exceptions; its referenced in
docs/reading.html


Re: Some way to recreate a server side exception on the client?

Posted by Matthew Denner <ma...@denner.demon.co.uk>.
Matthew Denner wrote:
> 
> Is there any way to recreate the exception thrown on the server side of 
> an Axis SOAP connection on the client side?  For instance, say my 
> service throws an SQLException, can I get it recreated (obviously 
> without the original stack trace) on the client side?  I see that an 
> org.apache.axis.AxisFault is what is actually thrown but this doesn't 
> appear to achieve (quite) what I want.  I'm using the 1.1b release of Axis.
> 
> Any help much appreciated.

Sorry, different search ("exception" is just one of those words that you 
can't use in a Java search!) of axis-user mailing list reveals the 
answer: no.  Well, not at the moment by the looks of things.

Hmmm ....