There are some other ways to do this, but one easy way is to write your
own handler (add to the fault flow) and just drop the out going messages
if the error code is 500.

Thanks,
Deepal
> Hello,
>
> I would like to disable all messages returned by 500 errors. I understand 
> that these are used for debugging, but in production environments I would 
> like to ask the person getting the error message to look at the documentation 
> instead. My server setup involves Tomcat which has custom 500 messages, but 
> it seems that Axis2 is not respecting the web.xml file.
>
> An example of this is:
> <?xml version='1.0' encoding='UTF-8'?>
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
> <soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Receiver</soapenv:Value></soapenv:Code>
> <soapenv:Reason><soapenv:Text xml:lang="en-US">Verbose exception message 
> here...</soapenv:Text></soapenv:Reason><soapenv:Detail 
> /></soapenv:Fault></soapenv:Body></soapenv:Envelope> 
>
> Any thoughts would be greatly appreciated.
>
> Regards,
> Joel R. Voss
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-user-h...@axis.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to