I've successfully created/registered a rest service, but I'm having trouble keeping it alive.
I can understand that a change in code needs a refresh of the service (in administrator or restinitapplication), but the following situations also break a service
- "clear template cache" button in administrator
- restart of server
And the only way to handle this, is to write a scheduled task which polls the service and calls restinitapplication when it does not respond.
Even if I set the scheduled task to run every 5 minutes, it's still possible that the service is totally unavailable for 4+ minutes.
Other frameworks like Taffy does not have this problem.
Why should i opt for REST if SOAP works many times better? Or am I missing something?