Error in Webservice call

Hi,

If webservice call is happening over SAIL Interface  with a button click to display list of data returned from webservice in the form of grid, How can we handle if webservice returned some error, webservice call is not successfull, webservice call got timed out.

 

Thanks

Namrata

  Discussion posts and replies are publicly visible

Parents
  • Hi Namrata,
    There are couple of things where the web service call might return errors.

    1) Network issue. May be it is timed out or something.
    2) Some of the web services may send some kind of info between some <error></error> (sample) then you can easily get those things from that.

    For the first one you can handle until it is not throwing that Appian pink error. Second one you can easily access the response which contains error cdt.

    Hope this helps.
Reply
  • Hi Namrata,
    There are couple of things where the web service call might return errors.

    1) Network issue. May be it is timed out or something.
    2) Some of the web services may send some kind of info between some <error></error> (sample) then you can easily get those things from that.

    For the first one you can handle until it is not throwing that Appian pink error. Second one you can easily access the response which contains error cdt.

    Hope this helps.
Children
No Data