Re: Custom exceptions in axis2

2011-06-03 Thread Denise Wu
Solved thanks guys for your help. On Fri, May 27, 2011 at 11:21 AM, Sagara Gunathunga wrote: > Please look at the faulthandling sample available on Axis2 binary > distribution. > > Thanks ! > > On Fri, May 27, 2011 at 1:54 PM, Denise Wu wrote: >> Hi. >> >> That's what I did but it is always ret

Re: Custom exceptions in axis2

2011-05-27 Thread Sagara Gunathunga
Please look at the faulthandling sample available on Axis2 binary distribution. Thanks ! On Fri, May 27, 2011 at 1:54 PM, Denise Wu 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 wrote: >> Hi, >> >>  You ca

Re: Custom exceptions in axis2

2011-05-27 Thread Amarnath Reddy
Yes swapna dats right...define a userdefined exception class...throw that exception obj in ur service method and dat service method should throws the same exception object.// On Fri, May 27, 2011 at 11:12 AM, swapna soni wrote: > Hi, > > You can catch a custom Exception in your service and from

RE: Custom exceptions in axis2

2011-05-27 Thread swapna soni
exceptions in axis2 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 wrote: > Hi, > >  You can catch a custom Exception in your service and from there throw you > custom exception. > > Thanks, > Swap

Re: Custom exceptions in axis2

2011-05-27 Thread Denise Wu
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 wrote: > Hi, > >  You can catch a custom Exception in your service and from there throw you > custom exception. > > Thanks, > Swapna Soni. > > -Original Message- > From:

RE: Custom exceptions in axis2

2011-05-26 Thread swapna soni
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:[email protected]] Sent: Thursday, May 26, 2011 9:56 PM To: [email protected]; [email protected] Subject: Cus