to assume that Ul'dah's only water source is outside of the city is foolish. A city would not be able to grow to the size of Ul'dah without an internal water source of some description. The most likely would be an artesian well of some description, drawing its water from an underwater source. This is especially true in a desert.
Aduu Avagnar, The Wanderer: Wiki