Hi,
I have just implemented a reporting system for a web applicationI am responsible for where I work. It basically allows users toenter the report details, click a button and then fires off acall to an asynchronous web service that executes a storedprocedure on SQL Server as a background process.
Getting it to run is fine, but what happens if I don't call theEndXXX method once the web service (and stored procedure) havefinished. All the results are loaded into a table in thedatabase so I don't need any return values, but should I callthe EndXXX method to free up any resources or is this doneautomatically.
If I do need to call it, how should I do this. Once the reporthas been fired, the user is free to navigate around the systemto perform other tasks. This means (or so I believe) the AsyncInterface is lost and I don't want to store it in a Session. Sohow would I go about calling the EndXXX method with the correctinterface.
I am fairly new to .NET and Web Services, so hopefully I haveexplained and understood the above correctly.
Thanks for your help.
Nick.
--------------------------------
From: Nick Dodd
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>hZUPLVq2wk2ICYbCz1otNA==</Id>