axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josef Stadelmann (Created) (JIRA)" <>
Subject [jira] [Created] (AXIS2-5176) HappyAxis.jsp found in error for axis2-1.6.1
Date Tue, 01 Nov 2011 09:24:32 GMT
HappyAxis.jsp found in error for axis2-1.6.1

                 Key: AXIS2-5176
             Project: Axis2
          Issue Type: Bug
          Components: samples
    Affects Versions: 1.6.1
         Environment: Windows Vista SP2, JDK 1.5.0_18, 
            Reporter: Josef Stadelmann
            Priority: Minor

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. 
returned properly
<ns:getVersionResponse xmlns:ns="http://axisversion.sample">
  <ns:return>Hi - the Axis2 version is 1.6.1</ns:return>

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");
OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample", "ns1");

As the stack trace said!


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message