Just have just built very successfully axis2-1.6.1 from tags/1.6.1 
Just deployed successfully to my local running Tomcat 6.0.26 on Vindos
Vista under JDK 1.5.0_26
And the validation page returns an error for the Version/getVersion
Service when triggered by the Happyness Page
And the stack trace received in the Tomcat Output Window is

[INFO] Clustering has been disabled
[INFO] Deploying module: addressing-1.6.1 - file:/C:/Program
Files/Apache Software Foundation/Apache Tomcat
6.0.26/webapps/axis2/WEB-INF/modules/addressing-1.6.1.mar
[INFO] Deploying module: jaxws-1.6.1 - file:/C:/Program Files/Apache
Software Foundation/Apache Tomcat
6.0.26/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.6.1.mar
[INFO] Deploying module: metadataExchange-1.6.1 - file:/C:/Program
Files/Apache Software Foundation/Apache Tomcat
6.0.26/webapps/axis2/WEB-INF/modules/mex-1.6.1.mar
[INFO] Deploying module: mtompolicy-1.6.1 - file:/C:/Program
Files/Apache Software Foundation/Apache Tomcat
6.0.26/webapps/axis2/WEB-INF/modules/mtompolicy-1.6.1.mar
[INFO] Deploying module: ping-1.6.1 - file:/C:/Program Files/Apache
Software Foundation/Apache Tomcat
6.0.26/webapps/axis2/WEB-INF/modules/ping-1.6.1.mar
[INFO] Deploying module: script-1.6.1 - file:/C:/Program Files/Apache
Software Foundation/Apache Tomcat
6.0.26/webapps/axis2/WEB-INF/modules/scripting-1.6.1.mar
[INFO] Deploying module: soapmonitor-1.6.1 - file:/C:/Program
Files/Apache Software Foundation/Apache Tomcat
6.0.26/webapps/axis2/WEB-INF/modules/soapmonitor-1.6.1.mar
[INFO] Deploying Web service: version-1.6.1.aar - file:/C:/Program
Files/Apache Software Foundation/Apache Tomcat
6.0.26/webapps/axis2/WEB-INF/services/version-1.6.1.aar
[ERROR] Exception occurred while trying to invoke service method
getVersion
org.apache.axis2.AxisFault: namespace mismatch require
http://axisversion.sample found http://axisversion.sample/xsd
        at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:1
90)
        at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RP
CMessageReceiver.java:117)
        at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLo
gic(AbstractInOutMessageReceiver.java:40)
        at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessa
geReceiver.java:110)
        at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
        at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques
t(HTTPTransportUtils.java:172)
        at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
98)
        at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.j
ava:859)
        at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.proce
ss(Http11AprProtocol.java:579)
        at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
        at java.lang.Thread.run(Thread.java:595)
null

I consider it a problem if source-kits build with maven successfully but
simple examples fail thereafter.
I can modify the sources myself for my own sack but I can not checkin
the fix.

Asking the Version Service straigth by a browser worked properly
http://c036357:8080/axis2/services/Version?getVersion

returned
- <http://c036357:8080/axis2/services/Version?getVersion>
<ns:getVersionResponse xmlns:ns="http://axisversion.sample";>
  <ns:return>Hi - the Axis2 version is 1.6.1</ns:return> 
  </ns:getVersionResponse>


So the following String in the HappyAxis.jsp page is wrong and needs to
be adjusted from
OMNamespace omNs =
fac.createOMNamespace("http://axisversion.sample/xsd";, "ns1");
to
OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample";,
"ns1");

As the stack trace said!

Do we need a JIRA?

Josef

Reply via email to