XML views based approach for Web services

This paper describes the necessity of converting relational databases to XML documents for Web services. One approach for this ultimate goal is to define a virtual XML document (XML view) over the given database schema. This allows the other applications over the Web service to exchange data without knowing the relational database structure, and more important, all these applications can be accessed using different operations and database systems. We present architecture that uses XML schema to define XML views, and uses Java API called JAXB for binding this schema into Java objects. All data exchange is to be done between objects. Thus, this is an object-oriented approach that uses matured Java technology to avoid complicated relational to XML mapping.