Hi All,
I noticed some weired behavior of JAX-RPC based web service in the
Geronimo. The problem I noticed in this sample WS is it works fine in
Tomcat while get failed in the Jetty. =-O
http://cwiki.apache.org/confluence/display/GMOxDOC11/Web+services+sample+application
I included the following jar files to the class path of the client
application.
geronimo-j2ee_1.4_spec-1.1.jar
geronimo-jaxrpc_1.1_spec-1.0.1.jar
axis-1.4.jar
commons-logging-1.0.4.jar
commons-discovery-0.2.jar
wsdl4j-1.5.2.jar
xercesImpl-2.6.2.jar
Please find attached file for the error description.
Anything I am missing here?
Lasantha Ranaweera
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (404)Not Found
faultActor:
faultNode:
faultDetail:
{}:return code: 404
<html>
<head>
<title>Error 404 Not Found</title>
</head>
<body>
<h2>HTTP ERROR: 404</h2><pre>Not Found</pre>
<p>RequestURI=//Calculator/calculator</p>
<p><i><small><a
href="http://jetty.mortbay.org">Powered by
Jetty://</a></small></i></p>
</body>
</html>
{http://xml.apache.org/axis/}HttpErrorCode:404
(404)Not Found
at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:163)
at $Proxy0.addition(Unknown Source)
at
org.apache.geronimo.samples.calc.client.CalculatorClient.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)