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 Murach's Java Servlets and JSP this week in the Servlets 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
I agree. Here's the link: http://aspose.com/file-tools
subject: java.net.ConnectException: Connection refused
Similar Threads
sample wsdl urls exposed
Java Client for Amazon Web Service
Unable to access AMAZON Web Service
Java Webservice
unable to tcpmon a web service consumer