How to check if Web-Service in running or not?

Discussion in 'Requests' started by rohitmokashi16, Jul 24, 2018.

    
  1. rohitmokashi16

    rohitmokashi16 New Member


    Dear Experts,

    When Tally is acting as front-end for Web-Services:

    How to check if Web-Service is running or not?

    i.e. When I use Collection attribute "RemoteURL".

    [Collection: XML Collection]

    Remote Request : HTTP Post Rep : ASCII
    Remote URL : "http://localhost/TestXML.xml" ;; URL Specification

    If HTTP server is on, it will fetch data. But, if it is stopped, Tally will show following error in Calculator Area:
    "POST Error Code: 10061
    POST Error Desc: No connection could be made because target machine actively refused it."

    How to avoid this by checking if server is running or not?(Using TDL)
     


Share This Page