Sounds as if either:


 - The URL you are building for the endpoint has the incorrect port. The
line:

          String endpoint = "http://localhost:"; + options.getPort() + 
"/axis/Calculator.jws";

may not be resolving to the correct port. Do a System.out.print and see if the 
endpoint is the same port you have your server on.

 - Axis isn't running. Are you sure it's started and running correctly?









Anthony Smith <[EMAIL PROTECTED]> on 06/26/2002 04:55:07 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:    (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:  NewBie Question


I just got started with Axis and tried a few examples, and I get the same
message for all of them...


java.net.ConnectException: Connection timed out: connect

I put a few printlines in my code and they all seem to get stuck on
statements like the following:

Integer ret = (Integer) call.invoke( new Object [] { i1, i2 });


Basically any call.invoke.... Can someone tell me where I am going wrong?

Anthony Smith
GSP Technologies
901-263-8953

"Having education and talent doesn't make you better than the world... it
makes you responsible for it!"







Reply via email to