Forum Discussion
sinnes_1
15 years agoOccasional Contributor
So I'd write something like this:
groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
holder = groovyUtils.getXmlHolder("#Response");
holder.namespaces["ns2"] = "http://www.cc.ddd/schema/PersonService";
def responseId = holder.getNodeValue("//ns2:id");
log.info (responseId);
This is very similar to what I have running over here and it works a treat.
groovyUtils = new com.eviware.soapui.support.GroovyUtils( context );
holder = groovyUtils.getXmlHolder("
holder.namespaces["ns2"] = "http://www.cc.ddd/schema/PersonService";
def responseId = holder.getNodeValue("//ns2:id");
log.info (responseId);
This is very similar to what I have running over here and it works a treat.
Related Content
- 3 years agoIuliaVascan
- 2 years agoBouzouki
Recent Discussions
- 7 days agoemoya