Indeed this is a problem of web services endpoint, as dong posted in his reply.
If you check the source code TestClient.java, you may find a line
>>String endpoint = "http://nagoya.apache.org:5049/axis/services/echo";
Unfortunately, this service is not available. So you can change thisline to
String endpoint = "http://www.cppunit.org:8081/axis/services/myecho";
Recompile TestClient.java and run the application. You should get
Send 'Hello!', got 'Hello!'
correctly.
John Henry Xu
System Architect
Technology columnist/editor
http://www.usanalyst.com
http://www.getusjobs.com (The largest free job portal in North America)
----- Original Message -----
From: "Tongjie Li" <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: java.net.ConnectException: Connection refused: connect
Date: Mon, 18 Jul 2005 22:42:56 +0200
>
> I have the same problem!
>
> On 7/18/05, jim wang <[EMAIL PROTECTED]>wrote:
> > Hi:
> >
> > I am the new user to axis, after installing axis on my PC(XP)
> > machine successfully, i try to run some services to apache server
> > in %AXIS_HOME% like:
> >
> > samples.userguide.example1.TestClient
> > Sent 'Hello!', got 'Hello!'
> >
> > and got following error:
> >
> > java.net.ConnectException: Connection refused: connect
> >
> > any experter, please.
> >
> > Thanks.
> >
> > -Jim
> >
> >
> > ________________________________
> > Start your day with Yahoo! - make it your home page
John H. Xu
System Architect
Technology columnist/editor
http://www.usanalyst.com
http://www.getusjobs.com (The largest free job portal in North America)
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup
