During the development phase, it's common to deploy a web service locally and consume it from a mobile application running in the iOS simulator or Android emulator.
Many mobile applications consume web services. Connect to local web services from iOS simulators and Android emulators