locked
AsyncWebservice disconnection RRS feed

  • Question

  • User719557214 posted

    Hi,

    I have created an asmx webservice which will perform socket operations.I am using one method of webservice as async method.

    When my internet conection goes at that time my service is not reconnecting automatically.It is continously throwing webexception at the time of disconnection and when internet connected again and it does not reconnect.

    Monday, June 17, 2013 3:25 AM

Answers

  • User220959680 posted

    Web services responds to client request waiting to receive the request from the client to respond. On the hosted web server web service waits for requests, as soon as a request is receive it responds appropriately.

    When there is network communication issue,  then client can not connect to the service. As the service does NOT received any request from the client, it is NOT expected to respond.

    When my internet conection goes at that time my service is not reconnecting automatically.

    It is NOT the web service problem, it is the client suppose to send request. So that service responds.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, June 17, 2013 5:07 AM