Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.net.ConnectException: Connection refused

 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
Kumar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic