webservices and communicationhttp://forums.asp.net/t/1795970.aspx/1?webservices+and+communicationThu, 26 Apr 2012 10:40:28 -040017959704946638http://forums.asp.net/p/1795970/4946638.aspx/1?webservices+and+communicationwebservices and communication <p>I have 2 windows systems on my network.<br> System-1 has images to serve and system-2 should display the<br> images.<br> <br> On power-on of system-2, it will call the webservice on system-1<br> and gets an image and displays it.<br> So far so good, and this I managed to implement easily.<br> <br> However now I want to be able to change the image on System-2, using a<br> GUI interface from system-1.<br> Idea is that system-1 should inform system-2 that it should change its image!<br> How can I accomplish this?<br> <br> Should I also run a webservice on system-2 to accomplish this?<br> Is there any better way to think about this problem. <br> Probably using windows services?<br> <br> I am new to windows programming, and not sure what is the best possible approach to<br> accomplish this. Can someone enlighten me? Thank you.<br> <br> </p> 2012-04-23T14:23:48-04:004949875http://forums.asp.net/p/1795970/4949875.aspx/1?Re+webservices+and+communicationRe: webservices and communication <p>Based on my understanding, you can create a webservice on system 2 and if the image on the system 1 was being changed, then you can call that webservice to inform System 2. or you could use WCF dual binding (e.g: WSDualHttpBinding) which allows service to communicate with client.</p> 2012-04-25T06:09:02-04:004952369http://forums.asp.net/p/1795970/4952369.aspx/1?Re+webservices+and+communicationRe: webservices and communication <p>Thank you Peter for introducing me to WCF. I will look into this now. Running a webservice on system 2 is not a solution for me.</p> <p>In the meanwhile I thought the &quot;windows task scheduler&quot; as a solution. Is this a good solution too?</p> <p>The client will then periodically poll the webserver for new information. Please do let me know your opinion on this.</p> <p></p> 2012-04-26T08:53:18-04:004952415http://forums.asp.net/p/1795970/4952415.aspx/1?Re+webservices+and+communicationRe: webservices and communication <p>You want to call web service on system 1 in the windows task schedule and then schedule this task to run at periodical time, this approach could also complete above goal.</p> 2012-04-26T09:16:50-04:004952615http://forums.asp.net/p/1795970/4952615.aspx/1?Re+webservices+and+communicationRe: webservices and communication <p>Thanks a lot Peter. Now I will see what best suits for the needs, WCF or Task scheduler and act accordingly.</p> 2012-04-26T10:40:28-04:00