There are many ways to compare 2 XML in Java, however we will see here one of the process that I follow. I have split this in two seperate parts. The Part1 is about how to use the APIs in order to compare the XML and Part2 would explain how to utilize that and create a SWT/Eclipse RCP Application to visually represent the differences.
We often need a SOAP WebService Client and we might have just a sample request in hand with the endpoint or in case you need a generic webservice client then writing WebService Client using SAAJ API is a very easy way to invoke a WebService. [Read more…]