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

HappyAxis.jsp found in error for axis2-1.6.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6.1
    • 1.6.2, 1.7.0
    • samples
    • Windows Vista SP2, JDK 1.5.0_18,

    Description

      Just built axis2-1.6.1 from sources at tags/1.6.1, installed it, and deployed the axis2.war to a Tomcat running on Windows Vista.

      The validation page returns an error for the Version/getVersion Service when triggered by the Happyness Page.

      Asking the Version Service straigth by a browser worked properly.
      i.e.
      http://c036357:8080/axis2/services/Version?getVersion
      returned properly
      <ns:getVersionResponse xmlns:ns="http://axisversion.sample">
      <ns:return>Hi - the Axis2 version is 1.6.1</ns:return>
      </ns:getVersionResponse>

      so it is not the deployed Version service but the client in our case HappyAxis.jsp calling the service.

      The fix is very simple but needs to be included into happyAxis.jsp by a developer with privs to commit into the trunk sources, maybe also change it into the tags/1.6.1 sources if that fits the policy.

      Inside HappyAxis.jsp
      change from
      OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample/xsd", "ns1");
      to
      OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample", "ns1");

      As the stack trace said!

      Josef

      Attachments

        Activity

          People

            sagara Sagara Gunathunga
            stadelma Josef Stadelmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified