Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-695

Servlet systest need to add context path to simulate the real environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-RC
    • 2.0
    • None
    • None

    Description

      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).

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: