You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "willem Jiang (JIRA)" <ji...@apache.org> on 2007/05/30 11:27:16 UTC
[jira] Created: (CXF-695) Servlet systest need to add context path
to simulate the real environment
Servlet systest need to add context path to simulate the real environment
-------------------------------------------------------------------------
Key: CXF-695
URL: https://issues.apache.org/jira/browse/CXF-695
Project: CXF
Issue Type: Bug
Affects Versions: 2.0-RC
Reporter: willem Jiang
Fix For: 2.0
Current CXF servlet systests don't set the context path, so it can't find the restful http-binding's bug like below:
It is when the servlet is deployed in the root
context "/" - but otherwise, handleMessage() in DispatchInterceptor doesn't
do the right thing on lines 54-59, so an exception is thrown about an
invalid verb/method combination.
Specifically, something like:
/myContext/xml/messages/1
fails, because /myContext is not taken out of the picture first, before
comparing "path" from the EndpointInfo ("/xml") to the address (request
URI).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-695) Servlet systest need to add context path
to simulate the real environment
Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
willem Jiang resolved CXF-695.
------------------------------
Resolution: Fixed
this issue has been resolved in the revision 542785
> Servlet systest need to add context path to simulate the real environment
> -------------------------------------------------------------------------
>
> Key: CXF-695
> URL: https://issues.apache.org/jira/browse/CXF-695
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0-RC
> Reporter: willem Jiang
> Assignee: willem Jiang
> Fix For: 2.0
>
>
> Current CXF servlet systests don't set the context path, so it can't find the restful http-binding's bug like below:
> It is when the servlet is deployed in the root
> context "/" - but otherwise, handleMessage() in DispatchInterceptor doesn't
> do the right thing on lines 54-59, so an exception is thrown about an
> invalid verb/method combination.
> Specifically, something like:
> /myContext/xml/messages/1
> fails, because /myContext is not taken out of the picture first, before
> comparing "path" from the EndpointInfo ("/xml") to the address (request
> URI).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CXF-695) Servlet systest need to add context path
to simulate the real environment
Posted by "willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
willem Jiang reassigned CXF-695:
--------------------------------
Assignee: willem Jiang
> Servlet systest need to add context path to simulate the real environment
> -------------------------------------------------------------------------
>
> Key: CXF-695
> URL: https://issues.apache.org/jira/browse/CXF-695
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0-RC
> Reporter: willem Jiang
> Assignee: willem Jiang
> Fix For: 2.0
>
>
> Current CXF servlet systests don't set the context path, so it can't find the restful http-binding's bug like below:
> It is when the servlet is deployed in the root
> context "/" - but otherwise, handleMessage() in DispatchInterceptor doesn't
> do the right thing on lines 54-59, so an exception is thrown about an
> invalid verb/method combination.
> Specifically, something like:
> /myContext/xml/messages/1
> fails, because /myContext is not taken out of the picture first, before
> comparing "path" from the EndpointInfo ("/xml") to the address (request
> URI).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.