# Any way to simulate Waiting

**URL:** <https://forum.kirupa.com/t/any-way-to-simulate-waiting/232371>\
**Category:** Uncategorized\
**Created:** [July 13, 2007, 5:12am UTC](https://forum.kirupa.com/t/any-way-to-simulate-waiting/232371 "2007-07-13T05:12:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shanepdesigns](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@shanepdesigns](https://forum.kirupa.com/u/shanepdesigns)\
**Post date:** [July 13, 2007, 5:12am UTC](https://forum.kirupa.com/t/any-way-to-simulate-waiting/232371/1 "2007-07-13T05:12:44Z")

</div>

I have a class that uses two Httpservices. One of the services retrieves a url from a local xml. The second one uses that url as it’s url property. How can i have the second httpservice wait for the first http service to result in case it’s called before the first one is able to initialize?
