if (propertyOutputAdapter.adaptOutput(description, result, context, messageInterceptor)) {
return true;
}
if (result instanceof Map) {
Map map = (Map) result;
SimpleMap simplemap = new SimpleMapImpl();
for (Object o : map.keySet()) {
if (o == null || "".equals(o)) {
continue;
}
String key = (String) o;
Object value = map.get(key);
simplemap.put(key, value);
}
Object targetNode = ResourceDescriptionEvaluator.evaluateExpression(description,
context,
messageInterceptor);
if (targetNode instanceof SOAPEnvelope) {