Providing a successful middleware solution is a challenge to any Enterprise. There are multiple frameworks available for this need. This framework will use the latest technologies and techniques, to enable effective communication between the front-end and the back-end systems. In this framework, XML documents will be used to transfer data between different systems. It will also define how the XML documents and the data have to be handled so that the Middleware is adaptable and flexible for cost effective change and maintenance. XML Mapping tool which is included in this implementation of middleware helps in Mapping the elements of the XML document to the legacy system as well as to other XML documents, so that it will help the developers in populating the XML documents and also to write the XSL for XML Translation.