More information on this matter.

On my development machine, this seems to work properly. I see an xml format
with a single element <fault>

On my testing machine I see the full stack trace within an <Exception>
element (and no <fault> element)

So this seems to be possible, with some configuration.

 

Anyone familiar with this issue?

 

From: Yoav Naveh [mailto:[email protected]] 
Sent: Wednesday, February 04, 2009 11:26 AM
To: [email protected]
Subject: not showing stack trace when accessing the web service via browser

 

Hi,

 

I have set up a web service that upon error throws an exception as fault.

The web service is accessible through tomcat by using my web browser.

 

Is there any way to have tomcat (I assume it is in charge of this part) not
display the stack trace, in case my service raises a fault?

 

Thanks!

 

Reply via email to