mercredi 23 mars 2016

Web services calls in a loop

some of my colleges made some simple web service interface for us.

However, process is kind of bit long running which is fine and expected. But, the problem is, this is what they think of:

  • Make a first request, get a id in response

  • Using that id, create requests in a loop, until process is finished

  • Make one final request, essentially just to do the cleanup.

How about make one, single web method, so that I can make one single request? If it is longer, and it is, then increase your timeout. It's alright, I can wait...

Hell no!

What could go wrong?

Aucun commentaire:

Enregistrer un commentaire