Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SocketTimeoutException: Read timed out for a web service call

 
Amit Samant
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just 1 correction.. There's not a file thats processing records but, a script that processes a file containing 70K records
Amit
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic