Most mobile apps need to interact with a remote web service to obtain information that the app can display or to send user submitted content such as comments or photos. When we start working on a new project, we often times find ourselves in a situation where the web service that the apps need to communicate with is still in development and not ready to use yet. However, typically you just can’t wait for the web service to be completed before work on an app is started.
For cases like these we use something we call a Mock Web Service. This Mock Web Service implementation can be used instead of the real web service until its ready. Actually, it can be useful even after the actual web service is in place.