jQuery in Action, 2nd edition*
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: SocketTimeoutException: Read timed out for a web service call
 
Similar Threads
Web service client timing out.
SAXParseException: An invalid XML character (Unicode: 0x1c) was found in the XML response
Web Service Client - Initiate another Service if no Reponse after 60 sec
Read Time Out
Web service client timeout