If you are using a good web services framework (Apache Axis, webmethods glue etc) then you should never need to assert that the framework generates correct XML. I would say that isolating the web services components in your application and testing them at the point they meet the WS/SOAP boundary (eg using mock objects) is a better bet.
Tim
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to know if anybody out there have tested webservices using XMLUnit
yes, i do. how about working together?
If you are using a good web services framework (Apache Axis, webmethods glue etc) then you should never need to assert that the framework generates correct XML. I would say that isolating the web services components in your application and testing them at the point they meet the WS/SOAP boundary (eg using mock objects) is a better bet.
Tim