This discussion is archived
1 Reply Latest reply: Dec 2, 2012 6:24 AM by jtahlborn RSS

differnce between sync and async webservices

SRAVZ Newbie
Currently Being Moderated
All,

What is the difference between sync and async web services?

Actually i am looking for a web service, which doesn't return a response. is this achievable?

Thanks
  • 1. Re: differnce between sync and async webservices
    jtahlborn Expert
    Currently Being Moderated
    SRAVZ wrote:
    What is the difference between sync and async web services?
    from a webservice protocal perspective there is no difference. you still make a request and get a response. the difference is in what the initial response contains. in a synchronous call, the initial response will contain the final result. in an asynchronous call, the initial response will not contain the final result, but may contain some sort of "ticket" which can be used in a subsequent call to get the final result. generally, the client will need to poll the webservice until the final result is available.
    Actually i am looking for a web service, which doesn't return a response. is this achievable?
    it's not really possible to not return any response. http is a request/response protocol. if you don't have any data to return, then the response will be fairly minimal, but it will still exist.

    Edited by: jtahlborn on Dec 2, 2012 9:22 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points