This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: