In the ubiquitous era, for web services to become a universal communication paradigm, mobile devices enabled with web services should be considered. This paper presents a lightweight 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, it has been experimented under a real-world scenario. Experimental results show that the framework is able to support web services in a mobile environment.