I send a SOAP request to update the database. It takes a long time.
Obviously it is over HTTP - so I tried two things
- Increase the timeout.
- Make it a persistent connection.
Here are the problems:
- Increasing the timeout means that if it fails, it may take a long time to discover this - we are talking about an hour to process the request
- Making it persistent - This may timeout as well.
Is there any mechanism to keep the connection alive for extended periods of time? My research has not generated any fruitful results.
Any insights is much appreciated.