aspose file tools*
The moose likes Web Services and the fly likes Wireless Router and Web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Wireless Router and Web service" Watch "Wireless Router and Web service" New topic
Author

Wireless Router and Web service

Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 249
Hello All
I am trying to invoke a remote service end point from my local machine
axis userguide/example1/testclient

String endpoint = "http://nagoya.apache.org:5049/axis/services/echo";

I am using a belkin wireless routher connecting to the testwest broadband modem. Now when ever i run this java proxy i get java.net.ConnectException
: Connection refused: connect..

Please help I am struct..


SCJP, SCWCD, SCBCD, SCEA 5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42592
    
  65
What makes you think that port 5049 on that machine is open?


Ping & DNS - my free Android networking tools app
Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 249
Hello thanks for your reply, But actually I am trying to run the echo examples of samples. The url mentioned as end point is as is

Please can you help.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42592
    
  65
What I meant by that is: while the machine nagoya.apache.org exists and is up and running, there is nothing running on port 5049. The URL is meant as an example of how an endpoint URL may look like, not as a sample service to be used for testing your service. You should replace it with a URL pointing to localhost or whatever your development machine is.
[ October 30, 2005: Message edited by: Ulf Dittmer ]
Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 249
Hello Friend
Thanks for your reply, Understand that i should change the URL to the local URL where the service is deployed. Now if you look in axis/samples/userguide/example1 there is only a testclient and no service is available for deployment so even if i change the URL to local i dont think it will work as i have not locally deployed any service. So what should I do to get this working?
Thanks for all your help
really appreciate that
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42592
    
  65
The files implementing the service are in the samples\echo directory. The readme file explains what to do with them.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wireless Router and Web service