How does make web service's pull?
-
I work on a web service project. Now, it has a 3rd part service which I must ask for data regular time on my own. How can I make a regular request at my server which is running the web service? One way is I create a window service to ask the 3rd part datas at regular time, and if has datas then the window service send a request to the web service in order to transmit the receive datas to web service. I do not like this way, cuz it must create more service. How can web service send a request on it's own? === Interest is power! ===
-
I work on a web service project. Now, it has a 3rd part service which I must ask for data regular time on my own. How can I make a regular request at my server which is running the web service? One way is I create a window service to ask the 3rd part datas at regular time, and if has datas then the window service send a request to the web service in order to transmit the receive datas to web service. I do not like this way, cuz it must create more service. How can web service send a request on it's own? === Interest is power! ===
If MS BizTalk is already a part of you existing solution - you may use it to perform periodic calls to 3rd party web service. Otherwise - creating simple Windows service seems like a reasonable solution to me. Implement a service which will call 3rd party web service with the given period of time. If 3rd party WS reports that remote data were changed - retrieve the new data and store it locally. When user call your (local) web service - just retrieve that data from local storage (previously retrieved by Windows service) and pass that data back to client. Best regards, ----------- Igor Sukhovhttp://sukhov.net -- modified at 1:17 Monday 29th May, 2006