if (section.getDialect().equals(WSDL_DIALECT)) {
if (section.getAny() != null) {
getServiceInformationFromNode(portInfos, section.getAny());
}
if (section.getMetadataReference() != null) {
final Metadata newMetadata =
retrieveMetadata(section.getMetadataReference());
List<PortInfo> newPortInfos = getServiceInformation(newMetadata);
portInfos.addAll(newPortInfos);
}
if (section.getLocation() != null) {
final Metadata newMetadata =
retrieveMetadata(section.getLocation());
List<PortInfo> newPortInfos = getServiceInformation(newMetadata);
portInfos.addAll(newPortInfos);
}
}