Pair<ServiceIdentification, ServiceProvider> smd = convertFromJAXB( md.getValue() ); Map<String, List<OMElement>> extendedCapabilities = new HashMap<String, List<OMElement>>(); if ( md.getValue().getExtendedCapabilities() != null ) { for ( ExtendedCapabilitiesType ex : md.getValue().getExtendedCapabilities() ) { String version = ex.getProtocolVersions(); if ( version == null ) {