jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes java.net.ConnectException: Connection refused Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "java.net.ConnectException: Connection refused" Watch "java.net.ConnectException: Connection refused" New topic

java.net.ConnectException: Connection refused

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

I am trying to access the freely available Amazon webservice with its wsdl file at http://soap.amazon.com/schemas3/AmazonWebServices.wsdl and I am trying to create a client for accessing this webservice using Sun's JWSDP.

When I am running the chapter 10 webservice examples from the book "Core Java Server Faces" with command "wscompile -import .\RaviWS\config.xml" on my dos prompt then I am getting below error

"error: modeler error: failed to parse document at "http://soap.amazon.com/schemas3/AmazonWebServices.wsdl": java.net.ConnectException: Connection refused: connect"

Please let me know what am I missing here ...

Thanks & Regards,

RR Kumaran
SCJP 1.4
subject: java.net.ConnectException: Connection refused
It's not a secret anymore!