The most challenging task in the web arena is the delivery of the payloads in the wireless environment because these payloads may be corrupted at any point of time. The web services are generally dealing with small chunks of payloads and they need fast transactions with minimal delay where hundred percentage accuracy is compulsory. The existing standards of the symmetric and asymmetric encryption although provide confidentiality and authentication [4] but they are still unable to provide data integrity and consistency. The light weight data like JavaScript Object Notation (JSON) and the eXtensible Markup Language (XML) [1] were introduced in order to make the data access easier and faster. These objects follow the existing methods of generating message digests [7] but still they need a special kind of message digest [7] to ensure the data integrity at any level. In this paper, a new approach of generating distributed message digests [7] for the XML [1] and JSON files is introduced to enhance and optimize the error checking and correcting codes. The foremost target of this paper is to situate the precise errors for resending rather than sending full payload for even a small packet error.Applying the concourse brilliance and flea outpost principium it has been proven that different digests can be generated for a single document and also cater extra sphere for the advancement of more powerful and efficient approach towards distributed message digests. The extant algorithms do not unlock all the ways of error correction and detection completely. As of today no technique is efficient enough to cover all the problems and to find its elucidation. There is the need to research for new and efficient schemes for data consistency and security. Dynamic and scalable algorithms flexible for different files which can secure the data are demanded. The various algorithms are explained and there is also an inauguration of new parameters which can improve data consistency and integrity. This can spark to incitement of readers furthermore researchers to evaluate and establish the new ways of data consistency. This paper brings better perception of various error checking and correcting ways of XML [1] and JSON files and cater better results for the use of research technique in the development of data integrity and consistency.