Details
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