File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException:" Watch "com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException:" New topic
Author

com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException:

Hira Iqbal
Greenhorn

Joined: Jul 29, 2010
Posts: 26
Hello!

I am new web services.I just learned how to create and consume a web service (when both are on same machine).
But now i am assigned a project to consume a web service which is deployed on some else machine .The problem is when i try to run my project i got following list of exception:




Can anyone help me regrading this .I am in very much trouble.
Imran Akbar
Ranch Hand

Joined: May 06, 2010
Posts: 63

Hi Iqbal.

Does your browser set up with proxy ? Then even your client application needs to set up a proxy.



Jim Akmer
Ranch Hand

Joined: Jul 06, 2010
Posts: 104
Check if you can access the web service wsdl through a browser. If you can and you are behind a proxy, do as previous post suggests. If you can not see the wsdl try to ping the IP of the machine the web service is deployed. If you can not ping the machine then it is a network issue (not a web service problem).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException:
 
Similar Threads
java.net.ConnectionException
Tomcat cant recognize "error-page" tag in web.xml
HttpURLConnection
Connection Refused Exception
how to read files from internet