I made minor change to the code to make sure it points to the right
location, re-run the code and got different error:

java.lang.RuntimeException:
No compiler found in your classpath. Make sure you added 'tools.jar'
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:13
4)
        at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationCo
ntext.java:671)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1489)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
        at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:346)
        at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext
.java:204)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:378)
        at org.apache.axis.client.Call.invoke(Call.java:1268)
        at org.apache.axis.client.Call.invoke(Call.java:1113)
        at org.apache.axis.client.Call.invoke(Call.java:1043)
        at org.apache.axis.client.Call.invoke(Call.java:1069)
        at org.apache.axis.client.Call.invoke(Call.java:674)
        at Calc_Jws.main(Calc_Jws.java:81)

Added tools.jar to classpath didn't solve the problem, I even added
jdk1.3/bin
to classpath but the error persistent.
Anyone knows what the "compiler" really means here? The Java compiler or
XML compiler?
Appreciate for any help.

        C.C. Liu

 
-----Original Message-----
From: Liu, C.C 
Sent: Thursday, January 31, 2002 12:13 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Calculator.java sample


Yes, I got this message on the server side. But the problem happened
at the client side when it excuted Call.invoke().
Thank you for the response, any other thoughts?

        C.C. Liu

-----Original Message-----
From: Lawrence Lourduraj [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 11:48 AM
To: [EMAIL PROTECTED]
Subject: Re: Calculator.java sample





Seems like the endpoint URL (e.g.
http://localhost/axis/servlet/AxisServlet) is not active. If you type this
URL in a browser you shoud see "Hi there, this is an AXIS service!"
message.

Regards



"Liu, C.C" <[EMAIL PROTECTED]> on 01/31/2002 11:09:37 AM

Please respond to [EMAIL PROTECTED]

To:    "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject:    Calculator.java sample



Hi,

I installed axis alpha 3 and tried a simple given sample program
samples/userguide/examples/Calculator.java
The compiler worked fine but got run time error :

Not Found
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:474)
at org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:104)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:178)
at org.apache.axis.client.Call.invoke(Call.java:1254)
at org.apache.axis.client.Call.invoke(Call.java:1113)
at org.apache.axis.client.Call.invoke(Call.java:1043)
at org.apache.axis.client.Call.invoke(Call.java:1069)
at org.apache.axis.client.Call.invoke(Call.java:674)
at Calc_Jws.main(Calc_Jws.java:81)

The axis.jar is on the classpath, what would be the possible reason and
solution to it?
Any info are appreciated.

 C.C. Liu


Reply via email to