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.

Reply via email to