In the ubiquitous era, for Web services to become a universal communication paradigm, mobile devices enabled with Web services should be considered as an equal participant of the service-oriented architecture. Here, mobile devices play the role of clients, providers, or even brokers. To establish a distributed application framework on a P2P network environment, this paper presents a light-weight framework for hosting Web services on mobile devices. The proposed framework contains several built-in functionalities such as the processing of SOAP messages, the execution and migration of services, the management of context and service directory, and the publishing and discovery of services. To evaluate the performance of the proposed mobile Web service framework, a real-world scenario has been tested on physical devices connected by Bluetooth.