On Oct 31, 2008, at 7:21 PM, Marc Hadley wrote:
>
>> That's not the case...the response is HTML with the
>> 404 text message. How can I create that response for an XML entity
>> type?
>>
> It sounds to me like you are running into either a servlet error
> page or an intermediate proxy or cache is translating the error for
> you. The latter sounds the most likely since you are returning a
> response from your method so servlet error pages shouldn't be used.
> Do you have a web proxy configured and is it possible to test
> without ?
>
I suspect the servlet web container is creating a default error page
because there is no entity built in the response.
Paul.