//lets do the semantic wsdl validation
WSDLDefinitionsFactory factory = WSDLDefinitionsFactory.newInstance();
WSDLDefinitions wsdlExp = factory.parse(wsdlfix.toURL());
WSDLDefinitions wsdlActual = factory.parse(wsdlFile.toURL());
WSDLValidator validator = new WSDL11Validator();
try
{
boolean bool = validator.validate(wsdlExp,wsdlActual);
if(bool == false)
fail("WSDL do not match");
}catch(JBossWSToolsException e)
{
fail(e.getLocalizedMessage());