uCosminexus Application Server, Web Service Development Guide
For customizing an error page on the J2EE server in which the JAX-WS engine of the Web service machine is operating or in the WAR file that includes Web Services, do not customize the HTTP status code 500. When the JAX-WS engine at the Web service machine returns a fault to the Web Service client, the HTTP status code is set up to "500 Internal Server Error". Therefore, if you customize the HTTP status code 500 instead of the SOAP fault, an invalid SOAP Message will be sent to the Web Service client.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.