Enterprises are continually faced with the challenge of integrating heterogeneous systems with incompatible interfaces, data structures (Source structured relational databases, semi-structured sources, XML, or unstructured documents: texts), access mode and technologies. When companies adopt SOA (Service Oriented Architecture), that provides an alternative to traditional design of applications by allowing a designer to assemble and compose existing services that implement the functions of a given application domain, they realize that there is a significant risk that Web services only do not solve the problem of compatibility in the data. Our paper gives a solution to these issues by setting up a virtual data integration system on top of heterogeneous data sources. A multilayer application system is designed and eases data extraction and combination using RDF technology. Based on a given application service request, matching algorithms allow rewriting a well-known application service in Abstract Data-Providing Services. The ADPS are as functionalities available in enterprises belonging to the same ecosystem, which are easy to implement by data sources. Then, the application rewriting aims to facilitate its implementation.