[
https://issues.apache.org/jira/browse/CXF-3966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin resolved CXF-3966.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.5.1
2.4.5
2.3.8
Assignee: Sergey Beryozkin
> When client sends invalid XML, JAX-RS returns 500 instead of 4xx
> ----------------------------------------------------------------
>
> Key: CXF-3966
> URL: https://issues.apache.org/jira/browse/CXF-3966
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.5
> Reporter: Art O Cathain
> Assignee: Sergey Beryozkin
> Priority: Minor
> Labels: jaxb
> Fix For: 2.3.8, 2.4.5, 2.5.1
>
>
> When unmarshalling an invalid client request, at
> org.apache.cxf.jaxrs.provider.AbstractJAXBProvider#handleJAXBException
> creates a response of 500 Internal Server Error. I think this should be 400
> Bad Request or 415 Unsupported Media Type.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira