// traverse definition to check namespaces
Map params = new HashMap();
params.put(NS_LIST_KEY, namespaces);
WSDLTraversal traversal = new WSDLTraversal();
// VisitorAdaptor.adapt(this);
traversal.setVisitor(this);
traversal.visitOperation(true);
traversal.visitBinding(true);
traversal.visitMessage(true);
traversal.visitPort(true);
traversal.ignoreImport();
traversal.ignoreReferences();
traversal.traverse(definition, params);
if (result.equals(AssertionResult.RESULT_FAILED))
{
this.validator.createFailureDetail(failureDetailMessage, entryContext);
}