Web services and mobile apps have significantly contributed to the popularity and adoption of mobile devices over the past decade. Bringing these services and apps into the IoT domain presents challenges in terms web service API consumption, handling parameters and managing credentials to name a few. During this talk, the author will discuss about these challenges and the current approaches to handle them. Following this, he will introduce a service layer framework in IoTivity which will enable integration of existing web services with the IoTivity stack. The details of the framework will be discussed. This will be followed by a discussion of use cases enabled by the framework.