Hi Robert, 

Thanks a lott for your help. I tried a small sample using Apache SOAP and I could 
handlle our application specific exceptions.
But what I wanted is to do the same using Axis. Wanted to know whether any 
event/method gets triggered when an exception occurs that I can override in Axis. As 
using Apache SOAP, I could implement my own FaultListener and customize my application 
specific exceptions, is there something similiar with Axis implementation?????

Is there anybody who worked on this,who can guide me about how should I go about it?

Regards,
Jolly

-----Original Message-----
From: Robert Dietrick [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 11:38 PM
To: [EMAIL PROTECTED]
Subject: Re: FaultListener


This ought to give you a general idea of how to accomplish this with 
Apache SOAP.  I'm not sure how different the implementation is under Axis:

http://archives.apache.org/eyebrowse/[EMAIL PROTECTED]&msgId=425328

Thomas, Jolly (Cognizant) wrote:
> Hi, 
> 
> I am basically new to web services. 
> I am writing my own SOAP service using AXIS. My service is supposed to throw some of 
> our user defined exception that contains a list of error code and corresponding 
> error message.
> I want to map those exception code to the fault code and exception message to the 
> fault string.
> so want to know more about AxisFault, about how it internally works.
> 
> Should I write my own Exception class that will extend my AxisFault class?
> Ne idea how should I go about it?
> Ne help regarding this(alongwith some sample code) would be appreciated..
> 
> Thanks,
> Jolly
> 
> 
> ------------------------------------------------------------------------
> 
> This e-mail and any files transmitted with it are for the sole use of the intended 
> recipient(s) and may contain confidential and privileged information. 
> If you are not the intended recipient, please contact the sender by reply e-mail and 
> destroy all copies of the original message. Any unauthorised review, use, 
> disclosure, dissemination, forwarding, printing or copying of this email or any 
> action taken in reliance on this e-mail is strictly prohibited and may be unlawful.
> Visit us at http://www.cognizant.com


This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. Any unauthorised review, use, disclosure, 
dissemination, forwarding, printing or copying of this email or any action taken in 
reliance on this e-mail is strictly prohibited and may be unlawful.
Visit us at http://www.cognizant.com

Reply via email to