builder.generateWSDL();
FileReader control = new FileReader(wsdlLocation);
StringReader test = new StringReader(new String(out.toByteArray()));
Diff myDiff = new Diff(XMLUnit.buildDocument(XMLUnit.getControlParser(), control),
XMLUnit.buildDocument(XMLUnit.getControlParser(), test),
new WSDLDifferenceEngine(new WSDLController()), new WSDLElementQualifier());
if (!myDiff.similar())
fail(myDiff.toString());
} finally {
XMLUnit.setIgnoreWhitespace(false);
}