Her kan du se hvad for timeouts det er du sætter..
Spørgsmålet er så hvilken der fejler
Du kan jo prøve at kalde URL'en manuelt og se hvad der tager lang tid ..
alternativt kan du jo skrue op for dem alle.. men det er nok ik så smart..
prøv evt at skrue op for dem en af gangen .. og så skrue ned og skrue op for den næste..
og se hvad for en der løser problemet..
objXml.setTimeouts(resolveTimeout, connectTimeout,
sendTimeout, receiveTimeout)
resolveTimeout
A long integer. The value is applied to mapping host names (such as "
www.microsoft.com") to IP addresses; the default value is infinite, meaning no timeout.
connectTimeout
A long integer. The value is applied to establishing a communication socket with the target server, with a default timeout value of 60 seconds.
sendTimeout
A long integer. The value applies to sending an individual packet of request data (if any) on the communication socket to the target server. A large request sent to a server will normally be broken up into multiple packets; the send timeout applies to sending each packet individually. The default value is 30 seconds.
receiveTimeout
A long integer. The value applies to receiving a packet of response data from the target server. Large responses will be broken up into multiple packets; the receive timeout applies to fetching each packet of data off the socket. The default value is 30 seconds.