Solved thanks guys for your help.
On Fri, May 27, 2011 at 11:21 AM, Sagara Gunathunga <sagara.gunathu...@gmail.com> wrote: > Please look at the faulthandling sample available on Axis2 binary > distribution. > > Thanks ! > > On Fri, May 27, 2011 at 1:54 PM, Denise Wu <wadie...@gmail.com> wrote: >> Hi. >> >> That's what I did but it is always returning and AxisFault exception. >> >> On Fri, May 27, 2011 at 6:42 AM, swapna soni <ss...@nisum.com> wrote: >>> Hi, >>> >>> You can catch a custom Exception in your service and from there throw you >>> custom exception. >>> >>> Thanks, >>> Swapna Soni. >>> >>> -----Original Message----- >>> From: Denise Wu [mailto:wadie...@gmail.com] >>> Sent: Thursday, May 26, 2011 9:56 PM >>> To: java-dev@axis.apache.org; java-u...@axis.apache.org >>> Subject: Custom exceptions in axis2 >>> >>> Hi, >>> >>> I created a custom exception on my server side but my client is always >>> getting an AxisFault exception. >>> Is there a way for the server to send instead the custom exception? >>> >>> Thanks for your help! >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org >>> For additional commands, e-mail: java-dev-h...@axis.apache.org >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org >>> For additional commands, e-mail: java-dev-h...@axis.apache.org >>> >>> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org >> For additional commands, e-mail: java-dev-h...@axis.apache.org >> >> > > > > -- > Sagara Gunathunga > > Blog - http://ssagara.blogspot.com > Web - http://people.apache.org/~sagara/ > LinkedIn - http://www.linkedin.com/in/ssagara > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org > For additional commands, e-mail: java-dev-h...@axis.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org