I can't get that far yet. I'm stuck trying to run the CalcClient, it complains 
about not finding the org/apache/geronimo/samples/calc/client/CalculatorClient, 
but the class is actually there and accessible.

BTW, I'm trying on Tomcat first.

Cheers!
Hernan

Lasantha Ranaweera wrote:
Hernan,

Thanks for pointing out this issue. Looks like we definitely have a case
here. Please verify the error you are getting as same given below.

After you have mentioned I tested this sample application in both Jetty &
Tomcat version of the server for 1.1.1 & trunk version (built recently)
but not in 1.2. The client side of the application fails in the Jetty
version of the server with following error for each case for me too:(. The
interesting thing is it works fine for Tomcat version.

AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (404)Not Found
 faultActor:
 faultNode:
 faultDetail:
        {}:return code:  404
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1"/>
<title>Error 404 </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><br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>

</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)


Thanks,
Lasantha

Lasantha,
I've been trying to get this app to work on G 1.2. I updated the build
script and deployment plans but still can't get the client to work. I had
the same error in 1.1.1, any chance you could take a look at it?

Here is the link to the 1.2 version.

http://cwiki.apache.org/GMOxDOC12/simple-web-services-sample-application.html

Cheers!
Hernan



Reply via email to