all groups > dotnet web services > september 2004 >
You're in the

dotnet web services

group:

Sync Webservice call that MUST wait for Distributed System to process


Sync Webservice call that MUST wait for Distributed System to process David Elliott
9/30/2004 8:43:34 PM
dotnet web services:

I have a distributed system that processes documents. There currently is an Async
Webservice in place and this works fine.

My customer is requesting a Sync Webservice call. I am trying to determine the best
way to implement this.

I thought I would have the Sync call to enter a sleep state and upon waking check a
ArrayList that was populated at the completion of the processing. If there is a doc then
return it, otherwise sleep.

Any thought would greatly be appreciated.

Re: Sync Webservice call that MUST wait for Distributed System to process Dino Chiesa [Microsoft]
10/7/2004 12:42:42 AM
I would use a persistent store. The Async webservice - where do the results
get placed when they are ready? I am guessing in some persistent place
(database, possibly a filesystem cache), indexed by a request ID. Have the
synch call just check that location?

-D


[quoted text, click to view]

AddThis Social Bookmark Button