• Post Reply Bookmark Topic Watch Topic
  • New Topic

Web service client timeout  RSS feed

 
Viswanath Gade
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a .NET web service. a J2EE web service client deployed on Websphere application server 5.1 is invoking it. some services on .NET end take a long time to return a value. in such cases, the following error occurs on J2EE end:

faultCode: Server.generalException
faultString: java.net.SocketTimeoutException: Read timed out
faultActor: null
faultDetail:

java.net.SocketTimeoutException: Read timed out
at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:150)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:200)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:685)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:611)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:441)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:662)
at statefarm.application.aerorat.webserviceclient.RATServiceSoapStub.refreshIssuances(RATServiceSoapStub.java:344)
at statefarm.application.aerorat.webserviceclient.RATServiceSoapProxy.refreshIssuances(RATServiceSoapProxy.java:76)
at Test.main(Test.java:177)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:199)
at java.io.BufferedInputStream.read(BufferedInputStream.java:217)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:647)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:167)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!