GeeCON Prague 2014*
The moose likes Web Services and the fly likes SocketTimeoutException: Read timed out for a web service call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "SocketTimeoutException: Read timed out for a web service call" Watch "SocketTimeoutException: Read timed out for a web service call" New topic
Author

SocketTimeoutException: Read timed out for a web service call

Amit Samant
Greenhorn

Joined: Mar 16, 2007
Posts: 2
Hi,
So there is a file that's processing some 70K records (in the sense it makes a SOAP web service call for each of them to retrieve some information).
So after some successfull processing , one record fails after which none are processed (Its unprocessed records thats the issue) .

The record fails with this error:

getCustomerServiceInfo: RemoteException from service: ; nested exception is:
java.net.SocketTimeoutException: Read timed out
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.SocketTimeoutException: Read timed out

And then all unprocessed error with java.lang.NullPointerException


Any clues?

Thanks,
Amit
Amit Samant
Greenhorn

Joined: Mar 16, 2007
Posts: 2
Just 1 correction.. There's not a file thats processing records but, a script that processes a file containing 70K records
Amit
 
GeeCON Prague 2014
 
subject: SocketTimeoutException: Read timed out for a web service call