Iterator ite = serviceMap.values().iterator();
while (ite.hasNext()) {
Service service = (Service)ite.next();
Iterator portIte = service.getPorts().values().iterator();
while (portIte.hasNext()) {
Port port = (Port)portIte.next();
Binding binding = port.getBinding();
if (!bindingMap.containsKey(binding.getQName())) {
Node errNode = ErrNodeLocator.getNode(document, WSDLConstants.QNAME_SERVICE, service
.getQName().getLocalPart(), port.getName());
schemaWSDLValidator.addError(errNode, " port : " + port.getName()
+ " reference binding is not defined");
isValid = false;
}
}
}