You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Ka-Lok Fung (JIRA)" <ji...@apache.org> on 2011/05/18 02:04:47 UTC
[jira] [Created] (CXF-3530) OPTIONing a JAX-RS subresource causes
CXF to generate a 405 status instead of a 200 status
OPTIONing a JAX-RS subresource causes CXF to generate a 405 status instead of a 200 status
------------------------------------------------------------------------------------------
Key: CXF-3530
URL: https://issues.apache.org/jira/browse/CXF-3530
Project: CXF
Issue Type: Bug
Components: JAX-RS
Affects Versions: 2.3.4, 2.4
Environment: JDK 1.6
Reporter: Ka-Lok Fung
Fix For: 2.4.1, 2.3.5
If you OPTIONS the subresource of a JAX-RS resource, CXF's JAX-RS implementation returns 405 instead of 200.
If you OPTIONS a JAX-RS resource directly, CXF generates a 200.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CXF-3530) OPTIONing a JAX-RS subresource causes
CXF to generate a 405 status instead of a 200 status
Posted by "Ka-Lok Fung (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ka-Lok Fung updated CXF-3530:
-----------------------------
Attachment: cxf.subresource.options.trunk.diff
Attaching a potential patch for this issue.
This patch copies the behaviour as seen in the working case in {{JAXRSInInterceptor.processRequest}} and applies it to {{JAXRSInvoker.invoke}}.
Also added a systest so that this issue doesn't regress in the future.
> OPTIONing a JAX-RS subresource causes CXF to generate a 405 status instead of a 200 status
> ------------------------------------------------------------------------------------------
>
> Key: CXF-3530
> URL: https://issues.apache.org/jira/browse/CXF-3530
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.4, 2.3.4
> Environment: JDK 1.6
> Reporter: Ka-Lok Fung
> Fix For: 2.4.1, 2.3.5
>
> Attachments: cxf.subresource.options.trunk.diff
>
>
> If you OPTIONS the subresource of a JAX-RS resource, CXF's JAX-RS implementation returns 405 instead of 200.
> If you OPTIONS a JAX-RS resource directly, CXF generates a 200.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CXF-3530) Performing an OPTIONS on a JAX-RS
subresource causes CXF to generate a 405 status instead of a 200 status
Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-3530.
-----------------------------------
Resolution: Fixed
Assignee: Sergey Beryozkin
> Performing an OPTIONS on a JAX-RS subresource causes CXF to generate a 405 status instead of a 200 status
> ---------------------------------------------------------------------------------------------------------
>
> Key: CXF-3530
> URL: https://issues.apache.org/jira/browse/CXF-3530
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.4, 2.3.4
> Environment: JDK 1.6
> Reporter: Ka-Lok Fung
> Assignee: Sergey Beryozkin
> Fix For: 2.4.1, 2.3.5
>
> Attachments: cxf.subresource.options.trunk.diff
>
>
> If you OPTIONS the subresource of a JAX-RS resource, CXF's JAX-RS implementation returns 405 instead of 200.
> If you OPTIONS a JAX-RS resource directly, CXF generates a 200.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CXF-3530) Performing an OPTIONS on a JAX-RS
subresource causes CXF to generate a 405 status instead of a 200 status
Posted by "Ka-Lok Fung (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ka-Lok Fung updated CXF-3530:
-----------------------------
Summary: Performing an OPTIONS on a JAX-RS subresource causes CXF to generate a 405 status instead of a 200 status (was: OPTIONing a JAX-RS subresource causes CXF to generate a 405 status instead of a 200 status)
> Performing an OPTIONS on a JAX-RS subresource causes CXF to generate a 405 status instead of a 200 status
> ---------------------------------------------------------------------------------------------------------
>
> Key: CXF-3530
> URL: https://issues.apache.org/jira/browse/CXF-3530
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.4, 2.3.4
> Environment: JDK 1.6
> Reporter: Ka-Lok Fung
> Fix For: 2.4.1, 2.3.5
>
> Attachments: cxf.subresource.options.trunk.diff
>
>
> If you OPTIONS the subresource of a JAX-RS resource, CXF's JAX-RS implementation returns 405 instead of 200.
> If you OPTIONS a JAX-RS resource directly, CXF generates a 200.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira