开发者

How to call an ASMX webservice asynchronously from classic ASP?

Is anyone aware of whether this is possible?

I want to c开发者_如何学Call a webservice asynchronously (fire and forget) from classic ASP?


Its a little different, but I recently had another system that had to call a process that was very lengthy, I didn't want the asp page to timeout or error during the process.

I'd developed the process as a vbs file for this reason, and originally had it running on a schedule. I created an asp page to fire it using the shell object in classic asp. I was therefore able to initiate the .vbs script, and carry on with the asp page, on the assumption that the vbs did its stuff. I could have (but didn't) got it to update a record in the db at the end so that asp would know it had completed. Perhaps a similar approach might enable you do to the same fire and forget?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜