HappyAxis.jsp found in error for axis2-1.6.1
--------------------------------------------
Key: AXIS2-5176
URL: https://issues.apache.org/jira/browse/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.
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]