This paper presents a novel service discovery framework for ubiquitous computing called Ubiquitous Computing Service Discovery Framework (UCSDF). UCSDF offers a more flexible and scalable architecture which can combine the local services with remote services. That characteristic makes UCSDF different from many other service discovery frameworks and more adaptive to ubiquitous computing environments.