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

Unexpected message when requesting ?policy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1
    • None
    • admin console
    • None
    • Axis2 1.1 Snapshot of 29 Oct

    Description

      After starting the Axis2 web app, I entered the following URL into my browser:

      http://localhost:8080/axis2/services/version?policy

      I know the Version service doesn't use WS-Policy, however the message that appeared on the screen was quite surprising:

      Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/web.xml

      I thought the ?policy option would deliver a service's policy. Is that still the case? If yes, and if there's no such policy for a given service, I think a different message should be displayed...

      Thanx.

      Attachments

        1. policy.patch.2
          8 kB
          Hettige Don Ignatious Nywan Sanka Samaranayake
        2. policy.patch
          45 kB
          Hettige Don Ignatious Nywan Sanka Samaranayake

        Activity

          People

            Unassigned Unassigned
            thilo.frotscher@web.de Thilo Frotscher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: