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 Connection timed out error with JAXWS client 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 "Connection timed out error with JAXWS client" Watch "Connection timed out error with JAXWS client" New topic
Author

Connection timed out error with JAXWS client

Rajesh Shet
Greenhorn

Joined: Nov 25, 2007
Posts: 1
We had developed Webservices with JAXRPC api, but now i have modified the client to use JAXWS api instead of JAXRPC, While connecting it creates the soap object, but when i try to call the soap method it gives me the following error
javax.xml.ws.WebServiceException: HTTP transport error: java.net.ConnectException: Connection timed out: connect
at com.sun.xml.ws.util.SOAPConnectionUtil.send(SOAPConnectionUtil.java:107)
at com.sun.xml.ws.util.SOAPConnectionUtil.sendResponse(SOAPConnectionUtil.java:113)
at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:284)
at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:153)
at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:85)
at com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:176)
at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:105)
at $Proxy20.getOrderByPon(Unknown Source)

We do not use proxy server
Can anyone help me to resolve this issue ???
 
 
subject: Connection timed out error with JAXWS client