You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2009/10/21 21:44:59 UTC

[jira] Created: (CXF-2490) Wrong content type for JAX-RS errors

Wrong content type for JAX-RS errors
------------------------------------

                 Key: CXF-2490
                 URL: https://issues.apache.org/jira/browse/CXF-2490
             Project: CXF
          Issue Type: Bug
          Components: REST
    Affects Versions: 2.3
            Reporter: Benson Margulies


When my JAX-RS service suffers from:

".No message body writer found for response class : ArrayList"

The content type of the error message is text/xml, and should be text/plain.


Server: Apache-Coyote/1.1
Date: Wed, 21 Oct 2009 19:42:33 GMT
Content-Type: text/xml
Content-Length: 61
Connection: close

500 Internal Server Error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-2490) Wrong content type for JAX-RS errors

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-2490.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3
                   2.2.5
         Assignee: Sergey Beryozkin

> Wrong content type for JAX-RS errors
> ------------------------------------
>
>                 Key: CXF-2490
>                 URL: https://issues.apache.org/jira/browse/CXF-2490
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.3
>            Reporter: Benson Margulies
>            Assignee: Sergey Beryozkin
>             Fix For: 2.2.5, 2.3
>
>
> When my JAX-RS service suffers from:
> ".No message body writer found for response class : ArrayList"
> The content type of the error message is text/xml, and should be text/plain.
> Server: Apache-Coyote/1.1
> Date: Wed, 21 Oct 2009 19:42:33 GMT
> Content-Type: text/xml
> Content-Length: 61
> Connection: close
> 500 Internal Server Error

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.