(I'm a newbie to .NET and SOAP calls, so please be gentle.)
Please consider this scenario (VB.NET):
1) I have web-based functionality that I need users to leverage through HTTP protocol.
2) When the user (via a WinClient app) submits binary data (again, via HTTP) to my web-side app, I will begin a new thread to process that data. Therefore, control will be returned to the WinClient app very quickly.
3) I need a way of:
a. Notifying the WinClient that processing is complete;
and b. Allowing the user (via a call to a Function) to retrieve his/her results of the procedure launched in step (2) above.
My question is, how do I do this?
I'm using a Web Service now where it makes sense, but I realized on Friday that I cannot merely create the client-side WebService "WithEvents" and expect the Web Service to relay notification events back to the WinClient. In other words, this would not fly:
'** Client-side VB.NET app
Private WithEvents MyObj As New SomeWebApp.SomeWebService
'** Catch those Server-side Web Service events here.
'** Wouldn't THIS be handy?
Private Sub MyObj_YourResultsAreReady()
But you see, I need functionality *LIKE* this. I need the WinClient to somehow get notification from the Server *without* having to contantly poll a Web Service ("Are you done yet? How about now? How about now?") How do I work asyncronously with a server-side procedure, and still receive efficient notification in my WinClient app?
I'm going to make this a 200-point question, because I need more of an answer than just "use remoting" or something like that. I can't expect a live, fully-documented solution for 200 points, but I do need some real help on how this can be done. If you know of a website somewhere that contains a solution, then that would be great.
Thanks a lot.