I have an app I am building that hits a web service and returns lodging
inventory.

 

Sometimes there can be as many as 7 room types in a search result.

 

That means it calls the web service 7 times and returns the inventory data
each time.

 

I loop through the 7 room types on the server side and send the room type
and arrival/departure dates to the web service.

 

Is there a way to hit that web service concurrently and store the results in
array or something as they come in?

 

Visual example:

 

Room #1 --- hits web service - returns dataset - 1-3 seconds response

 

Next-Room #2 --- hits web service - returns dataset- 1-3 seconds response

 

Next-Room #3 --- hits web service - returns dataset- 1-3 seconds response

 

And so on...

 

Total execution time can be around 15+ seconds for the page to retrieve
inventory for all rooms before displaying available ones.

 

Thoughts??

 

Jason Neidert
_____________________________________________________________

 <http://www.steelfusion.com/> steelFusion_emailFooter

    [email protected]

    p: 715.302.4495

    f: 715.842.4907

 

 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325584
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to