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)
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?
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.
It's weird that we cook bacon and bake cookies. Eat this tiny ad: