I have a web service (under Tomcat using the ServerServlet) that accepts post requests and returns a response. If the service encounters an error, I desire to set the Call status and provide my own XML in a StringRepresentation. If I don't set the status, my XML is returned fine. If I set the status to say, CLIENT_ERROR_BAD_REQUEST, then the output becomes:
<html><head><title>Apache Tomcat/5.0 - Error report</title><style><!--H1 ....etc..... I want my output, not this. Is there any way to avoid the overwrite? I don't think this is a good feature as it makes assumptions about the use case. Thanks, Sean

