I thought Mandar Ghalsadi’s question was regarding how to do this from an external client to consume a web service hosted on IS. Rereading the question, it appears that this is not the case.
If you were doing this from Flow, you would use a Repeat (on failure) statement not a Loop statement to handle transient errors such as network issues or temporary service unavailability.
For situations in which the hosted service was going to be Falsities for extended periods of time each day you could store the requests to a database table with a status of “pending” to queue them up and then when the service because available again retrieve and resend the queued requests.
The service provider should implement a service availability check given the extended downtime each day. You could schedule and IS service that called this liveness service and only attempt to send queued requests when the service was known to be available.
In my opinion, a web service that is unavailable 5 hours each day, is poorly designed
Mark
#API-Management#soa#webMethods