I am reading a xml file in groovy something like below, but don\'t know what is going wrong.
Below is my function
def setEnvironment(Map env,Map params)
XmlSlurper is handling the namespaces for you... Just get rid of the namespace part of the node names (note the more Groovy map management as well)
params.dn = records.GatewayNodeConfig[0].@domainName.text()
params.dh = records.GatewayNodeConfig[0].address[0].@host.text()
params.dp = records.GatewayNodeConfig[0].address[0].@httpPort.text()
params.u = records.DBConnectivity[0].@dbUsername.text()