aspose file tools*
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
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 ???
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Connection timed out error with JAXWS client