Widget Integration Framework (WIF) is a framework that covers diverse widgets and their interactions with higher layers above. The framework everal advantages of supporting a programming abstraction over widgets, supporting high reliability, run-time widget binding to the middleware and augmenting a service discoverer with available widget state information. This paper explains the processes of designing the WIF, including implementation, and applying WIF to the middleware. As an example, we explain a location-based service that uses a location positioning widget in a middleware employing WIF.