Ronald- AxisFault extends RemoteException RemoteException has 3 methods which may be of interest getMessage() returns a descriptive message of the Exception getCause() returns the wrapped remote exception..this is the object which your AxisFault class can be *re*-thrown
HTH Martin- ----- Original Message ----- From: "dunnohow" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, February 28, 2008 8:06 PM Subject: Re: How to grab Axis faultString? > > I am using axis 1.4 > > Basically i am throwing an axis fault when invoking the web service call in > the stub.java > > how do i pass this fault string back to my main application? > > can i keep on throwing the exception? > so that my main application which is the strutaction will then catch it? > > > Nunny wrote: > > > > Hi, > > are you using Axis 2 ? Can you please clarify your scenario bit more ? > > > > On Wed, Feb 27, 2008 at 1:05 PM, dunnohow <[EMAIL PROTECTED]> wrote: > >> > >> Hi all, > >> > >> I defined two log handlers > >> > >> ConsumerOutHandler > >> ConsumerInHandler > >> > >> Axis fault will be generated in the handler if there are soap exception. > >> My problem is how can i possibly pass back this fault string to my web > >> application? > >> > > > > thanks, > > /nandana > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: http://www.nabble.com/How-to-grab-Axis-faultString--tp15707591p15749910.html > Sent from the Axis - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
