Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5247

REST functionality is broken in current trunk

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1, 1.7.0
    • Fix Version/s: 1.6.2, 1.7.0
    • Component/s: kernel
    • Labels:
      None

      Description

      Axis2 REST functionality is not working as expected in current trunk. I tried a sample with a wsdl2 where I define whttp:location in HttpBinding to access the service operations in there. But im getting EPR not found for operation error in the response. For the attached sample i have defined the whttp:location for "getPrice" operation as whttp:location="price/

      {symbol}

      "

      Steps to reproduce:
      1. Deploy the attached service
      2. Access http://localhost:8080/axis2/services/StockQuoteService/getPrice?symbol=IBM, it will return a value
      3. Access http://localhost:8080/axis2/services/StockQuoteService/price/IBM, it will return an EPR not found error.

        Attachments

        1. StockQuoteService.aar
          4 kB
          Kishanthan Thangarajah
        2. AXIS2-5247.patch
          18 kB
          Kishanthan Thangarajah

          Activity

            People

            • Assignee:
              kishanthan Kishanthan Thangarajah
              Reporter:
              kishanthan Kishanthan Thangarajah
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: