You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ke...@sunlife.com on 2002/06/26 22:50:19 UTC

Re: NewBie Question

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 <an...@fedex.com> on 06/26/2002 04:55:07 PM

Please respond to axis-user@xml.apache.org

To:   axis-user@xml.apache.org
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!"








RE: NewBie Question

Posted by Anthony Smith <an...@fedex.com>.
I am using TestClient in examples1 and the endpoint is:

String endpoint = "http://nagoya.apache.org:5049/axis/servlet/AxisServlet";

It seems as if Axis is runnig there.

-----Original Message-----
From: Kevin.Bedell@sunlife.com [mailto:Kevin.Bedell@sunlife.com]
Sent: Wednesday, June 26, 2002 3:50 PM
To: axis-user@xml.apache.org
Subject: Re: NewBie Question



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 <an...@fedex.com> on 06/26/2002 04:55:07 PM

Please respond to axis-user@xml.apache.org

To:   axis-user@xml.apache.org
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!"