473,406 Members | 2,619 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Sync Webservice call that MUST wait for Distributed System to process


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.

Dave
Nov 21 '05 #1
1 1457
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
"David Elliott" <Da**********@BellSouth.net.nospam> wrote in message
news:97********************************@4ax.com...

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.

Dave

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Homa | last post by:
Hi all, Can anyone give me some links about how to do an async web service call from aspx and display a temperary page before the web service returns? Thanks, Homa Wong
1
by: Alexandre (www.pointnetsolutions.com) | last post by:
I am looking at building a distributed system, and i have been looking at many different options, in some cases i was thinking of a client server relation where a client would send a string to...
1
by: Eric | last post by:
I need to call a function in a WebService from a VC++ 7.1 project. The WebService requires NTLM authentication and should be the user of the calling program. How should this be done? I have...
5
by: Stacey Levine | last post by:
I have a webservice that I wanted to return an ArrayList..Well the service compiles and runs when I have the output defined as ArrayList, but the WSDL defines the output as an Object so I was...
2
by: Lumen | last post by:
hi, I've got a webproject that calls a webservice 4 times to check information in an CRM system. These checks are made in an asynchronous process. These processes call an instance of the...
0
by: screen.one | last post by:
Hi (Framework 1.1, Webservice platform Windows 2003 Server) I have a little windows service which is supposed to call one or more webservices at regular intervals. Recently this service has...
2
by: Peter | last post by:
I have a Web page which calls a WebService, this web service call might take few seconds to up 30 min I was thinking of having a webpage query the webservice every minute to keep it form timing...
2
by: =?Utf-8?B?TGFycnlLdXBlcm1hbg==?= | last post by:
Our WebDev team seems to have found a problem that exposes a bug in .NET 2.0. This problem can be shown when trying to access a WebService using SSL and through a proxy server after using the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.