• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web service client timing out.

Rohit Chaudhary
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a scenario in my project where a web service client is timing out if web service takes longer to respond. Observed that it times out if response is not received in around 30 sec.
The exception says:

Call to web service failed. SOAPFaultException
javax.xml.rpc.soap.SOAPFaultException: Exception during processing: java.net.SocketTimeoutException: Read timed out (see Fault Detail for stacktrace)
at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:317)
at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:147)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:473)
at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:459)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:569)
at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:422)

Web service deployed is rpc based java web service.
How do we increase/decrease the timeout for web service client. What parameter do we need to set?

Client code:

I have only attached partial code here. What i want to know is if there is any parameter which i can set here in code or any other way so that my client doesnt time out?

thanks in advance.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic