Hello, I consume a webservice in apian that open's an account. Al

Hello,

I consume a webservice in apian that open's an account. Al nice and beautifull.
I want to cover the cases when the machine on which the webservice is hosted is down or there is a time-out or any other case.
So I want to retry until I get a respone. Because in this moment the process just dies and remains stuck there.

Thanks in advance,
George

OriginalPostID-172772

OriginalPostID-172772

  Discussion posts and replies are publicly visible

Parents
  • If you are calling the service from the SAIL interface then using the httpgetwithresponse/httppostwithresponse function (in the Sent HTTP Requests plugin), or if you do not need NTLM auth you can use the OOB httpQuery and httpWrite and check the responses as well. Note that doing it this way it is helpful to store the output of the service call in a local variable and then evaluate if an error happened from there.
Reply
  • If you are calling the service from the SAIL interface then using the httpgetwithresponse/httppostwithresponse function (in the Sent HTTP Requests plugin), or if you do not need NTLM auth you can use the OOB httpQuery and httpWrite and check the responses as well. Note that doing it this way it is helpful to store the output of the service call in a local variable and then evaluate if an error happened from there.
Children
No Data