Skip to main content

Connection timed out error with JAXWS client

1 reply [Last post]
pshetkar
Offline
Joined: 2007-11-27

We have developed web services for JBOSS using JAX-RPC api, but now we want to migrate from JAX-RPC to JAXWS
We generated new classes for client using wsimport in JAXWS, now the problem is the client is creating the soap object but when we try to call any soap method it gives 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 are not using proxy, can anyone help us to resolve this issue please..

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
haritha_rm
Offline
Joined: 2008-11-24

Did you get a solution for this? I am facing the same problem, so it would help me if you could provide me with some pointers to resolve it.
Thanks in advance,
haritha