Forum Discussion
BA_Service_Haus
13 years agoRegular Contributor
Hi all,
in the meanwhile I found this solution:
Best regards
in the meanwhile I found this solution:
def xml = new XmlSlurper().parseText(messageExchange.responseContentAsXml)
def xmlClass = xml.getClass()
def gpathClass = xmlClass.getSuperclass()
def namespaceTagHints = gpathClass.getDeclaredField("namespaceTagHints")
namespaceTagHints.setAccessible(true)
namespaceTagHints.get(xml).each {item ->
log.info "$item.key = $item.value"}
Best regards